2078 8

CSC325 ยท 2078 ยท 5 marks

Explain the concept of backtracking. How it differ with recursion?

Explain the concept of backtracking. How it differ with recursion? [5]

Design and Analysis of AlgorithmsChapter 6: BacktrackingConcept of Backtracking, Recursion vs Backtracking

Backtracking is a general algorithmic technique that considers searching every possible combination in order to solve a computational problem. "We have a set of several choices. If one choice from the set of choices proves incorrect, computation backtracks at the point of choice and tries another...