feat(content): hidden test cases
This commit is contained in:
@@ -26,6 +26,12 @@ test_cases:
|
||||
expected: 0
|
||||
- input: { text1: "oxcpqrsvwf", text2: "shmtulqrypy" }
|
||||
expected: 2
|
||||
- input: { text1: "abcdefg", text2: "bdfxyz" }
|
||||
expected: 3
|
||||
- input: { text1: "aaaa", text2: "aaaa" }
|
||||
expected: 4
|
||||
- input: { text1: "ezupkr", text2: "ubmrapg" }
|
||||
expected: 2
|
||||
|
||||
description: |
|
||||
Given two strings `text1` and `text2`, return *the length of their longest **common subsequence***. If there is no **common subsequence**, return `0`.
|
||||
|
||||
Reference in New Issue
Block a user