The TransCompilator

Solved LeetCode program · 152 of 1,000

#0153 · Find Minimum in Rotated Sorted Array

Medium Array chunk-04.md

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.

Open in Playground Browse all 1,000 problems

Expected stdout

1