Glossary: Algorithms Beyond the Basics in JavaScript
Backtracking
A way to list every possible answer by building it one choice at a time: choose, explore, then undo the choice. Priya's gift-box search uses it to try combinations of items.
Glossary: Algorithms Beyond the Basics in JavaScript
A way to list every possible answer by building it one choice at a time: choose, explore, then undo the choice. Priya's gift-box search uses it to try combinations of items.