bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/DSA

DSA

Graphs

Graphs focused on DSA Graphs and related concepts.

Lesson 1visual

DSA Graphs

DSA Graphs

7 min
Read lesson →
Lesson 2visual

DSA Graphs Implementation

A Basic Graph Implementation Before we can run algorithms on a Graph, we must first implement it somehow. To implement a Graph we will use an Adjacency Matrix, like the one below. A B C D A B C D A B…

5 min
Read lesson →
Lesson 3visual

DSA Graphs Traversal

Graphs Traversal To traverse a Graph means to start in one vertex, and go along the edges to visit other vertices until all vertices, or as many as possible, have been visited. F B C A E D G Result:…

8 min
Read lesson →
Lesson 4visual

DSA Graphs Cycle Detection

Cycles in Graphs A cycle in a Graph is a path that starts and ends at the same vertex, where no edges are repeated. It is similar to walking through a maze and ending up exactly where you started. F…

10 min
Read lesson →