Google Interview Question

Implement the algorithm to calculate the diameter of a binary tree.

Interview Answer

Anonymous

May 2, 2024

Got close but didn't solve the problem completely in time, so the rejection was expected.

1