Heartdub interview question

The OA focused on the string, array, and BFS. The first round interview is a DFS.