Array-T41. First Missing Positive

Problem:Given an unsorted integer array, find the smallest missing positive integer.


Note:

Your algorithm should run in O(n) time and uses constant extra space.

Solve


Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326916498&siteId=291194637