Okta Interview Question

It was based on BFS graph traversal