30:00
Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0.
1≤text1.length,text2.length≤10001 \leq \text{text}_1.\text{length}, \text{text}_2.\text{length} \leq 10001≤text1.length,text2.length≤1000
text1 and text2 consist of only lowercase English letters.
text1
text2
Init DP table with 0s
a
c
e
0
b
d