Test cases wrong?


  • 3
    E

    Input: 2
    Output: "12"
    Expected: "11"


  • 9
    S

    You may misunderstand the problem description.

    you can follow the rules to generate infinite sequence, like:
    1, 11, 21, 1211, ...

    What you should do for this problem, is Given an integer n, generate the nth sequence. which means:

    if n = 1, output 1,

    if n = 2, output 11,

    if n = 3, output 21,

    ...


  • 0
    L

    not able to understand what n'th sequence mean


Log in to reply
 

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