GATE CSE Dynamic Programming – Algorithms Practice Test | Set 1

Questions 11-15 of 100

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

Question 11

MCQ · Single Correct 1 mark

What is the space complexity of computing the LENGTH of the Longest Common Subsequence of two strings of lengths m and n using space optimization?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

What is the time complexity to find the length of the Longest Common Subsequence of two strings of lengths m and n using Dynamic Programming?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

If string X has length m and string Y has length n with no common characters between X and Y, what is the length of their LCS?

Answers for question 13

Question 14

MCQ · Single Correct 2 mark

What is the time complexity of the OPTIMAL algorithm to find the length of the Longest Increasing Subsequence (LIS) of an array of size n?

Answers for question 14

Question 15

MCQ · Single Correct 2 mark

What is the length of the Longest Increasing Subsequence of the array A = [10, 22, 9, 33, 21, 50, 41, 60, 80]?

Answers for question 15
Scroll to Top