Computer Science, asked by sunnyvenkat4972, 1 year ago

What is a backtracking algorithm? provide several examples?

Answers

Answered by shilpimahajan
0
backtracking is a way out to get optimal solution out of many given alternatives. for example N -queens problem can be easily solved using backtracking
Answered by angelakshi01
5
Hyy frnd☺☺

Here's your answer looking for_____________
__________________________
_____________________


☆Backtracking is an algorithm for capturing some or all solutions to given computational issues, especially for constraint satisfaction issues. 

■Examples where backtracking can be used to solve puzzles or problems include: Puzzles such as eight queens puzzle, crosswords, verbal arithmetic, Sudoku, and Peg Solitaire. Combinatorial optimization problems such as parsing and the knapsack problem.
_________________
___hope it helps✔✔✔
mark as ⭐
Similar questions