Collibra interview question

Live coding. Solve BFS and DFS problems.