GATE CSE Dynamic Programming – Algorithms Practice Test | Set 1

Questions 36-40 of 100

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

Question 36

MCQ · Single Correct 2 mark

How many total distinct parenthesizations exist for a matrix chain product of n matrices?

Answers for question 36

Question 37

MCQ · Single Correct 1 mark

In Longest Common Subsequence DP recurrence, if X[i-1] == Y[j-1], what is L[i][j]?

Answers for question 37

Question 38

MCQ · Single Correct 1 mark

In Longest Common Subsequence DP recurrence, if X[i-1] != Y[j-1], what is L[i][j]?

Answers for question 38

Question 39

MCQ · Single Correct 2 mark

What is the length of the LCS of strings X = 'AGGTAB' and Y = 'GXTXAYB'?

Answers for question 39

Question 40

MCQ · Single Correct 1 mark

In Edit Distance (Levenshtein), what are the three allowed character operations?

Answers for question 40
Scroll to Top