Fundamentals
/
BFS or DFS?
⏸
00:00
↻
← Prev
Next →
▶
Question
Given an adjacency list and a start node, return both the BFS visit order and the DFS visit order as a tuple [bfsOrder, dfsOrder].
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
10