Shows the cliff at the end of the board. Past it, exact answers stop finishing.
Before you start.Complexity Theory (when problems are hard) showed that some problems are NP-hard, which means nobody knows a fast way to find the best answer. It ended with a list of moves: approximate, use a heuristic, prune, or restrict the input. This lesson builds the first move properly. Algorithm Design Patterns gave you greedy, which means grabbing the best-looking choice right now and never going back. Graphs (BFS, DFS, Dijkstra, topological sort) gave you graphs and spanning trees, which we use below.
Lesson 26 of 96 in DSA
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.