Kantar Interview Question

Level order traversal of binary tree Friends problem.