Longest Common Subsequence Problem Leetcode Premium