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


Runtime: 4 ms, faster than 83.56% of Go online submissions for Find Minimum in Rotated Sorted Array II.
Memory Usage: 3.2 MB, less than 68.49% of Go online submissions for Find Minimum in Rotated Sorted Array II.


```go
func findMin(nums []int) int {
    //2:48
    if len(nums) == 1 {
        return nums[0]
    } else {
        min_value := nums[0]
        for _, v := range nums {
            if v < min_value {
                min_value = v
            }
        }
        return min_value
    }
    //2:49
}
```