A problem about the testcase of [4,null,7,null,null,6,9]


  • 0

    The expected answer is [4,7] when I input [4,null,7,null,null,6,9],but I think it should be [4,7,null,9,6].Who can tell me the reason and my mistake?


Log in to reply
 

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