Is the test case correct?


  • 0
    T

    Why is 4 instead of 3 the answer of the test case n=8? Wouldn't the sequence 2 2 1 1 2 1 2 2 fit the definition of magic number?


Log in to reply
 

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