In the example you said the input is 0, 1, 2, ..., n, and in test case you give me the input [1,0]


Log in to reply
 

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