I guess condition says that 1 read off as one 1 or 11. Is it bad test or what?
Seems like it, ran into the same thing..
It's weird. If you try input:12 or anything longer, the output is unreasonable
I'm guessing you're ignoring the sentence "Given an integer n, generate the nth sequence."
oh yes you right. Thank you
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.