GATE CSE Dynamic Programming – Algorithms Practice Test | Set 1

Questions 21-25 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 21

MCQ · Single Correct 2 mark

In Bellman-Ford, after relaxing all edges V-1 times, how do we detect if a negative weight cycle is reachable from the source?

Answers for question 21

Question 22

MCQ · Single Correct 2 mark

What is the Edit Distance (Levenshtein Distance) between strings 'SUNDAY' and 'SATURDAY'?

Answers for question 22

Question 23

MCQ · Single Correct 1 mark

In Subset Sum problem, given set $S = {3, 34, 4, 12, 5, 2}$ and target sum $T = 9, what$ is the boolean result?

Answers for question 23

Question 24

MCQ · Single Correct 1 mark

What is the minimum number of coins needed to make change for amount $V = 11 using coin denominations {1, 2, 5}$?

Answers for question 24

Question 25

MCQ · Single Correct 2 mark

In Coin Change Number of Ways problem, how many ways can we make change for amount $V = 4 using coins {1, 2, 3}$?

Answers for question 25
Scroll to Top