Okta interview question

It was based on BFS graph traversal