Solved LeetCode program · 152 of 1,000
#0153 · Find Minimum in Rotated Sorted Array
Original English source
The numbers is a list of 3, 4, 5, 1, and 2. The smallest is item 0 of numbers.
For each value in numbers.
If value is less than smallest, set smallest to value.
Show smallest.
Expected stdout
1