Understanding input test case format


  • 1
    F

    Hi,

    Can someone pls explain the meaning of input test case:

    [10,5,15,null,null,6,20]

    what does 'null' represent as input to the Tree?

            10
          /    \
        5       15   
          \       \  
           6       20

Log in to reply
 

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