What exactly is the definition of "val" defined in the class Treenode? is it a depth or a value or a degree?


Log in to reply
 

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