Skip to content

Commit 80955d9

Browse files
committed
find minimum in rotated sorted array solution
1 parent 4bd55ba commit 80955d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Solution:
2+
def findMin(self, nums: List[int]) -> int:
3+
return min(nums)

0 commit comments

Comments
 (0)