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.
Really appreciate your feedback.
We have updated the test case. Your AC solution should fail now.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.