bars
📈
notes
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
0738_Monotone_Increasing_Digits
思路1 贪心
从右向左扫描数字,若发现当前数字比其左边一位(较高位)小,则把其左边一位数字减1,并将该位及其右边的所有位改成9
Previous
0738_Monotone_Increasing_Digits
chevron-left
Next
0740_Delete_and_Earn
chevron-right
Last updated
5 years ago