Find Minimum in Rotated Sorted Array II Solutions in GoNumber 154Difficulty HardAcceptance 41.6%Link LeetCodeOther languages C++SolutionsGo solution by halfrost/LeetCode-Gopackage leetcode func findMin154(nums []int) int { low, high := 0, len(nums)-1 for low < high { if nums[low] < nums[high] { return nums[low] } mid := low + (high-low)>>1 if nums[mid] > nums[low] { low = mid + 1 } else if nums[mid] == nums[low] { low++ } else { high = mid } } return nums[low]}package leetcode func findMin154(nums []int) int { low, high := 0, len(nums)-1 for low < high { if nums[low] < nums[high] { return nums[low] } mid := low + (high-low)>>1 if nums[mid] > nums[low] { low = mid + 1 } else if nums[mid] == nums[low] { low++ } else { high = mid } } return nums[low] }