https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii


Runtime: 4 ms, faster than 90.66% of C++ online submissions for Find Minimum in Rotated Sorted Array II.
Memory Usage: 12.3 MB, less than 9.22% of C++ online submissions for Find Minimum in Rotated Sorted Array II.


```cpp
class Solution {
public:
    int findMin(vector<int>& nums) {
        //2:51
        return *min_element(nums.begin(), nums.end());
        //2:51
    }
};
```