Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 113 Bytes

File metadata and controls

8 lines (5 loc) · 113 Bytes

Idea

  • Recursion

    • Trivial
  • Iterative

    • BFS, we use a queue to keep track of the node we have visited.