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.
Glossary: Algorithms Beyond the Basics in Go
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.