Skip to content
Medium-Easy Understand Dynamic Programming Multiple Choice

What is the time complexity of Word Break (LC 139) with the DP approach?

Understand — Tests comprehension and ability to explain concepts.

Answer Options

A O(n)
B O(n²)
C O(n² + m*k) where m=dict size, k=avg word len
D O(n * m)

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