Skip to content

Glossary: Algorithms Beyond the Basics in JavaScript

Choice tree

A drawing of all the choices a backtracking search can make, one level per decision. For the add-ons gift wrap, card and express, each level is a yes or no and the eight leaves are the eight answers.

Where the book teaches it

Related terms

BacktrackingPruning