leetcode #First Missing Positive
LeetCode 41번 - First Missing Positive
leetcode.com/problems/first-missing-positive/ First Missing Positive - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution { public: int firstMissingPositive(vector& nums) { set s(nums.begin(),nums.end()); int size = nums.size(); int result = 1; for(result = 1; result