Skip to content
Easy Remember Dynamic Programming Multiple Choice

What is the time complexity of Longest Common Subsequence for strings of length m and n?

Remember — Tests recall of fundamental facts and definitions.

Answer Options

A O(m+n)
B O(m*n)
C O(m*n*log(m+n))
D O(2^(m+n))

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 32+ more Dynamic Programming questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Dynamic Programming topic (Algorithms).

More Dynamic Programming Questions