Backtracking

Home > Computer Science > Algorithms and data structures > Algorithm design > Backtracking

A technique for solving problems by incrementally building a solution and then "backtracking" when it fails to meet the problem's constraints.