There's a missing test case for this question


  • 0
    Y

    12120 should return 3 ("12,1,20", "1,21,20" and "1,2,1,20"). My previous solution returned 4 by mistake but passed the test. FYI.


  • 0
    S

    Really appreciate your feedback.

    We have updated the test case. Your AC solution should fail now.


Log in to reply
 

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