Longest Common Subsequence Leetcode Python Problems