ended8월 23일· 1 sources
Leetcode 41 : First Missing Positive Integer
Why it matters
Question : Given an unsorted integer array, find the smallest missing positive integer. Example : Input: [1,2,0] Output: 3 Input: [3,4,-1,1] Output: 2 Input: [7,8,9,11,12] Output: 1 Idea : In 1st phas...
1
Sources
+0
24h
—
Growth
28d
Active