Solution for problem [Find Minimum in Rotated Sorted Array II]