Skip to content

Glossary: Algorithms Beyond the Basics in Go

Backtracking

Building answers one choice at a time: make a choice, explore the rest, then undo the choice so the next one starts clean. It lists every combination or order of a few items.

Where the book teaches it

Related terms

Choice treePruningSubsetPermutation