First Missing Positive

https://oj.leetcode.com/problems/first-missing-positive/

and edit about the previous code challenge.

damn it , i always spent more than 3 hours to finish one

algorithm