What is the format of the testing input, is it a in order traversal?


  • 0
    P

    system using format like "-2,1,-1,8,5,7,4,9,#,3,#,0,6,5,2,#,#,#,#,3,#,7,#,0,2,1,2,#,#,#,#,6,#," to test, i am wondering what format this is? is it the in order traversal?


  • 0
    D

    No it's not in order traversal it's level order traversal from left to right # and means NULL,


Log in to reply
 

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