Create First Missing Positive 

Three special cases need take into consideration, when switch value, we need make sure the value of that node is with 0 to A.length, besides, A[A[i] - 1] != A[i], namely, avoid duplicate numbers, suppose A[0] = 3, A[2] = 3, in this cases, the code will into dead loop.