Okta Interview Question

bfs traversal in a graph