Professional Documents
Culture Documents
https://youtu.be/XZbrmetb9VE?si=JioRRa7zpGkaq2uL
2. Explain use of Branch & Bound Technique for solving Assignment Problem.
https://youtu.be/0F1uPOGCFxg?si=OzWPU_tY7thQ3wWn
3. Explain Minimax principle with its use.
https://youtu.be/Ntu8nNBL28o?si=X3TlEkNktoj5gEG7
4. Give the algorithm to solve the Tower of Hanoi Problem. Comment on the
complexity of the algorithm.
https://youtu.be/q6RicK1FCUs?si=3NpM-IkjmgWd_412
5. What is Recursion? Give the implementation of the Tower of Hanoi problem using
Recursion.
Recursion is a programming technique in which a function calls itself in order to solve a problem.
It is widely used in programming to solve complex problems that can be broken down into
smaller, simpler ones.
In the context of the Tower of Hanoi problem, recursion is used to solve the puzzle of moving a
stack of disks from one peg to another, while following the rules that no larger disk can be placed
on top of a smaller one.
https://youtu.be/NSZ1fOWZAcY?si=I2wLqFuHANY0XP2f
#include <stdio.h>
int main()
{
int no_of_disks ;
printf("Enter number of disks: ");
scanf("%d", &no_of_disks);
toH(no_of_disks, 'A','C','B');
return 0;
}
7. Explain the use of Backtracking method for solving Eight Queens Problem giving
its algorithm.
https://youtu.be/M8SS5pgDck4?si=afIO1aPbnzKtLBvz
https://youtu.be/Cc4mqUNig-c?si=lA3U4wYZ2al_BY_N
8. Explain Backtracking with Knapsack problem.
https://youtu.be/Mcs6kpMRXBM?si=GWur84ObX_NJq_WG
Numerical/Derivable
1. Give solution to 4- Queens Problem using Backtracking Method.
2. Find all possible solution for the 4*4 chess boards, 4 queen’s problems using
backtracking.