Which edge case matters for this problem?

Practice this question from Longest Common Subsequence - 2D DP Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

Empty strings should return 0.

Option B

Whether the array is rotated

Option C

Whether vowels are uppercase

Option D

Whether graph edges are directed

Explanation

Empty strings should return 0.

Longest Common Subsequence - 2D DP Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker