I don't understand this question

  • 0

    what does it mean by "Find the minimum element."

    my code is

    return min(nums)

    and it's accepted

  • 0

    @chunsheng But it's time complexity is O(n), but it can be solved in O(logn) which will be required in a interview.

Log in to reply

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