Back-Tracking
Question 1 |
Which type of algorithm is used to solve the "8 Queens" problem?
Greedy | |
Dynamic | |
Divide and conquer | |
Backtracking |
Question 1 Explanation:
→ 8 queens problem is based backtracking method.
→ Dijkstra’s algorithm is best example for greedy
→ Floyd warshall is best example for dynamic programming.
→ Quicksort is best example for divide and conquer.
→ Dijkstra’s algorithm is best example for greedy
→ Floyd warshall is best example for dynamic programming.
→ Quicksort is best example for divide and conquer.
There is 1 question to complete.
