1143.Longest Common Subsequence
翻譯
Input: text1 = "abcde", text2 = "ace"
Output: 3
Explanation: The longest common subsequence is "ace" and its length is 3.Input: text1 = "abc", text2 = "abc"
Output: 3
Explanation: The longest common subsequence is "abc" and its length is 3.思路
一、極限值/特殊狀況
二、哪種資料結構解
三、大概會怎麼解
型別
解題
Last updated