Charles Schwab Interview Question

Max depth of binary tree

Interview Answer

Anonymous

Jan 15, 2021

recursion, return max of both left & right child until you get to the root