Back to QuestionsPractice with This Question
Longest Common Subsequence (LCS)
51.1K views•Asked at Airbnb•
Medium
Question Explain
Given two strings $text1$ and $text2$, return the length of their longest common subsequence. Use Dynamic Programming.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.