The TransCompilator

Solved LeetCode program · 153 of 1,000

#0154 · Find Minimum in Rotated Sorted Array II

Hard Array chunk-04.md

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.

Open in Playground Browse all 1,000 problems

Expected stdout

0