Domanda di colloquio di ESPN

How do you get the depth of binary tree?

Risposte di colloquio

Anonimo

15 ago 2018

DFS find max of left and right while add 1 count to the recursion to increase the level each time

Anonimo

10 mar 2017

Graph traversl

1