104. Maximum Depth of Binary Tree Java Solution

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

how does the computer know that root.left refers to the left side and root.right refers to the right side? although we think it that way, the computer does not know it

wenkaiyang
Автор

Hey, I found this explanation helpful! Many thanks to you for the theory as well as the algorithm!😍

sandeep_begudem