Understanding the Problem This problem asks for the the depth(integer) of the tree as a return. But there are things that I had to consider. We do not know the depth of the tree, obviously the parameter comes in TreeNode class type. The class def...
Markdown supported · ⌘↵ to post
No responses yet.