Test case problem


  • 2
    C

    the test case input is 1, and the expected output is "1",why? i think the output should be "11"


  • 0
    S

    Pay attention to the problem description, what you should do is generating such sequence

    1, 11, 21, 1211, 111221, ...

    then return the Nth of it.


Log in to reply
 

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