The optimal solution to certain problems requires examining all possibilities. If any possibility is ignored, we are unable to say with mathematical certainty that our solution is optimal. In such situations, we use a technique known as backtracking to exhaustively traverse the entire solution space and collect all the information needed to compute the optimal solution. The Subsets pattern groups together those problems where we need to systematically construct all, or, a mathematically defined subset of all, the possible subsets of a given set. Again, the technique used for the construction of such a set of subsets is, in fact, backtracking.
The ability to recognize problems requiring exhaustive search
Hands-on experience with using the Backtracking pattern
A working knowledge of the Subsets pattern
Lifetime Discount 50% OFF
$25
.50
per mo,
billed annually ($149)
Lifetime Discount 50% OFF
$25
.50
per mo,
billed annually ($149)