Find Minimum in Rotated Sorted Array II

Problem Id: 154 Difficulty: Hard


Intuition

Solution


class Solution:
    def findMin(self, nums):
        """
        :type nums: List[int]
        :rtype: int
        """
        return min(nums)