Time Left - 15:00 mins
GATE 2023 Algorithm Quiz 9
Attempt now to get your rank among 74 students!
Question 1
Which of the following is not the dynamic programming problem?
Question 2
Which of the following is/are property/properties of a dynamic programming problem?
Question 3
Which of the following problems can be solved using dynamic programming?
a) Merge sort
b) Rod cutting
c) 8-Queens problem
d) Subset sum problem
Choose the correct code from below:
Question 4
Which of the following is true about the time complexity of the recursive solution of the subset sum problem?
Question 5
The difference between maximum possible profit for 0/1 Knapsack and fractional Knapsack problem with capacity (W) =
Question 6
Consider the following statements:
(i). Any Dynamic Programming algorithm with n subproblems will run in O(1) time.
(ii). Dynamic programming solves a problem faster then greedy method.
(iii). Unlike greedy algorithms, dynamic programming methods always provide correct/optimal solution.
Which of the above statement/s is/are correct?
- 74 attempts
- 0 upvotes
- 1 comment
Tags :
GATE & PSU CSAlgorithmsApr 28GATE & PSU CS