Graph algorithms

Breadth-first and depth-first search differ by one data structure; Dijkstra and A* differ by one term in a comparison. Neither difference is visible in prose, so the frontier — the queue, the stack or the priority queue — is drawn as its own track beside the graph, with the item being taken marked. Choose the graph, from a seed, and a link you share draws exactly the graph you were looking at.

8 algorithms

Sorting and searching live next door in AlgoLab, the call stack inRecursion, and pattern matching in String matching.