Solved LeetCode program · 153 of 1,000
#0154 · Find Minimum in Rotated Sorted Array II
Original English source
The numbers is a list of 2, 2, 2, 0, and 1. 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
0