What's the structure of input array?

  • 0

    [37,-34,-48,null,-100,-100,48,null,null,null,null,-54,null,-71,-22,null,null,null,8], node with value -100, node with value -71
    I failed this test. But I can't figure out the structure of the tree as to check my codes. Can anyone help? thx!

Log in to reply

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