LeetCode 153. Find Minimum in Rotated Sorted Array [Medium] 发表于 2019-04-08 更新于 2024-08-05 分类于 LeetCode , Medium 阅读次数: LeetCode 153. Find Minimum in Rotated Sorted Array。 题目来源:https://leetcode.com/problems/find-minimum-in-rotated-sorted-array 题目难度:Medium 解答1[Java]:1234567891011121314151617class Solution { public int findMin(int[] nums) { if (nums.length == 0) { return 0; } int min = nums[0]; for (int i = 1; i < nums.length; ++i) { if (nums[i] < min) { return nums[i]; } } return min; }}