note is made of words and numbers separated by single spaces, with no leading or trailing spaces. Each token is either a word of lowercase English letters or a positive integer without leading zeros.
Check that the numbers in the note, read from left to right, are **strictly increasing**: each number is smaller than the next number after it.
Return True if so, and False otherwise.note="left 3 crates and 8 boxes then 15 bags" → True
The numbers are 3, 8, 15 — each one is larger than the one before.
note="buy 4 eggs 2 lemons 9 apples" → False
2 comes after 4, so the numbers stop climbing.
note="room 12 then room 12" → False
12 and 12 are equal, but the climb must be strict.
note="left 3 crates and 8 boxes then 15 bags"
True
Run checks the first 3 tests in your browser. Submit checks all 202 tests on the server, hidden ones included.