Grokking Graph Algorithms for Coding Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
The diagrams should be undirected right?

Ahmad Khatib

May 20, 2025

Take the first example, if we respect the diagram, the answer should include edges [2,3] because 3 would not be reachable by any node and [3,4] because then node 3 cannot reach node 4. Right?

0

0

Comments
Comments

On this page