Intel Corporation interview question

Balanced Binary Tree in a graph