O(1) Python 1 Line Solution


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

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.