Your code is wrong, the tests are fine. You're returning the single digit number instead of the steps to reach it.
Wrong how? C++ version works for me. What do you think the problem is?
tests on C++ is wrong, pls fix it
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
Your code is wrong, the tests are fine. You're returning the single digit number instead of the steps to reach it.
Wrong how?
C++ version works for me. What do you think the problem is?
tests on C++ is wrong, pls fix it
This comment is hidden because it contains spoiler information about the solution