Site icon Study Algorithms

What is Backtracking?

Backtracking is the method of exhaustive search using divide and conquer.

Example Algorithms of Backtracking

Code Samples:

  1. Generate all the strings of n bits.
Exit mobile version