Intel Corporation Interview Question

Balanced Binary Tree in a graph