Back to the 2022 paper
Similar questions
Design & Analysis of AlgorithmsHow 8-Queen's problem can be solved using back tracking and explain with an example.20247mDesign & Analysis of AlgorithmsWrite an algorithm for n-queen's problem, find its time complexity and explain the algorithm using an example.20237mDesign & Analysis of AlgorithmsExplain back-tracking, DFS and BFS with help of small example. Differentiate in between backtracking and dynamic programming. Apply the backtracking algorithm to solve the three-colouring problem for the following graph using state space tree. Assume three colours red, green and blue. 201914mDesign and Analysis of Algorithms State the graph coloring problem and write the algorithm. Apply backtracking technique to solve the 3-colouring problem for the following graph. 20227m
PreviousFind the minimum number of operations required for the following matrix chain multiplication using dynamic programming. Also discuss the complexity involved. A(10 \times 20) * B(20 \times 50) * C(50 \times 1) * D(1 \times 100)NextFind Huffman codes for the text of characters with given frequencies: | Characters | T | I | V | K | L | E | O | Z | P | R | |---|---|---|---|---|---|---|---|---|---|---| | Frequencies | 43 | 38 | 16 | 8 | 50 | 12 | 56 | 13 | 22 | 7 |
Official AppAndroid App
PYQDeck for Android
Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.