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

0% completed

Vote For New Content
Is it wrong that I am struggling to solve these problems and have to jump to the solutions?

Sourav Rawat

Jun 16, 2025

As the question says I am struggling to solve these problems and have to jump to the solutions, this is first time working and learning graphs. I am struggling a bit when it comes to graph representation using adjacency matrices or when they are given like this. I find the questions that have the u, v representation easier.

0

0

Comments
Comments
edisonfreire14
edisonfreire14 2 months ago

No your not wrong, this is actually a well documented algorithm that they are using to solve this problem. You should not beat yourself up about not knowing it or coming up with this algorithm yourself.

If you want to look more into it, its called the **white, grey, bl...

On this page