Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skillsโperfect for learners of all ages.
Graphs are fundamental data structures that model relationships in various applications like social networks and routing systems. They can be represented through adjacency lists or matrices, each with its advantages and disadvantages. Key traversal algorithms such as Depth-First Search and Breadth-First Search facilitate the exploration of graph structures, while advanced algorithms provide solutions for shortest paths and tree constructions.
References
ee-ds-4.pdfClass Notes
Memorization
What we have learnt
Final Test
Revision Tests
Term: Graph
Definition: A non-linear data structure consisting of nodes (vertices) and connections (edges) used to model relationships.
Term: Adjacency Matrix
Definition: A 2D array representation of a graph where the presence of edges is indicated.
Term: Adjacency List
Definition: A data structure that represents a graph by maintaining a list of neighbors for each vertex.
Term: DepthFirst Search (DFS)
Definition: An algorithm used for traversing or searching tree or graph data structures, exploring as far as possible along a branch before backtracking.
Term: BreadthFirst Search (BFS)
Definition: An algorithm for traversing or searching tree or graph data structures, exploring all neighbors at the present depth before moving on to nodes at the next depth level.