Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
Define a graph and its components.
Think about how to represent things visually.
What does BFS stand for?
It's a method of exploring graphs.
What do the entries in an adjacency matrix represent?
Consider the matrix structure.
True or False: BFS is an algorithm used for Depth First Search.
Remember the 'B' in BFS.
Given a graph represented as an adjacency list, implement the BFS algorithm and return the order of vertex traversal.
Think about how you can utilize queues efficiently.
If a graph has multiple components, how can you modify BFS to check connectivity from a given vertex to all reachable vertices?
Consider what happens when not all vertices are connected.
4 more questions in this section. Enroll free to practise them all.
Enroll free