Based on the rule, if start with 2, I can get string:
Compare with the one in the problem 12211212212211...., it removes the prefix 1.
If that is correct, for some N like 5, then the answer will be different depending on which one we are referring to.
@xiaoboluo Yes, I agree with you.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.