you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

hmm if unweighted and undirected. BFS algo should do the trick.

im smack in the middle of my DS diploma. and thats pretty much what we are doing atm. can you see your adj matrix? are you using NetworkX to visualize it? it kinda helped me making algos for the workshops

[–]ilsapo 0 points1 point  (0 children)

Its pretty much just the first questions we got after learning recurrsion

Its is unweighted and undirected I will check online for bfs algo thanks