← Questions

Monotone increasing digits

0
GoogleCodingLast asked Jul 2026
  1. Check whether a number's digits never decrease from left to right.
  2. Given n, return the largest number no greater than n whose digits never decrease.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding