LeetCode - First Missing Positive | Darren's Blog Given an unsorted integer array, find the first missing...

Please Visit: http://ift.tt/1ajReyV



LeetCode - First Missing Positive | Darren's Blog



Given an unsorted integer array, find the first missing positive integer. For example, given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space.

http://ift.tt/1lkSln0

http://ift.tt/VtLG5d



LeetCode - First Missing Positive | Darren's Blog







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1lkSln4

via LifeLong Community

No comments:

Post a Comment