Input : Root of below tree
1
/ \
2 3
/ \ / \
4 5 6 7
\
8
Output : 8
Input : Root of below tree
1
/ \
2 3
/
6
Output : 6
Find The Deepest Node
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||