How to understand the solution?

  • 0

    It's easily to understand that for numbers less then 10 ,only 1 and 7 will give the right answer,but how to prove the recursion will finally get a sum that is less then 10?

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.