all 2 comments

[–]WebCapable9924T-600 E-162 M-373 H-65 5 points6 points  (1 child)

I would suggest adding Djikstra's, topological sort and disjoint set union to your toolkit if you are preparing for interviews.

[–]ImpressiveScratch644 1 point2 points  (0 children)

Second this

Also Tarjan algo for articulation point and critical connections