π₯
Adjacency Matrix β
Requires prior knowledge of vertices/edges, directed vs. undirected and weighted graphs, and graph density to map nodes to indices, interpret A[i][j] values and symmetry, and reason about the O(1) checks vs O(n^2) space trade-offs.
π₯
Graph β
Understanding the graph data structure depends on the introβs definitions (nodes, edges), graph types (directed/undirected, weighted/unweighted, dense/sparse), standard representations (adjacency lists/matrices), and baseline traversal/shortestβpath techniques (BFS, DFS) needed to specify, implement, and use graphs correctly.
π₯
Adjacency List β
Understanding graph basics (nodes/edges, direction, weights, sparsity, and neighbors) is required to define an adjacency-list structure, interpret its entries, and evaluate its trade-offs for traversal and path algorithms.
π₯
Breadth First Search β
BFS assumes understanding of nodes/edges, directed vs. undirected graphs, and common graph representations (adjacency lists/matrices) to correctly traverse levels and manage visited state.
π
Introduction To Weighted Graphs β
β‘οΈ
Graph Traversal β
β‘οΈ
Directed Acyclic Graph β
β‘οΈ
Minimum Spanning Tree β
β‘οΈ
Depth First Search β
β‘οΈ
Undirected Graph β