Skip to content

Glossary: Algorithms Beyond the Basics in Java

backtracking

Building an answer one choice at a time by choosing, exploring the rest, then undoing the choice so the next one starts clean. It lists every subset or order of a small set of items.

Where the book teaches it

Related terms

choice treepruningsubsetpermutation