Search
⌘K
Get Premium
Leetcode 2042. Check if Numbers Are Ascending in a Sentence
Extract the numeric tokens from the space-separated sentence and check whether their numeric values form a strictly increasing sequence from left to right; return true if they do, otherwise false.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.