Longest String Chain | Leetcode 1048 solution on September 23, 2023 dynamic programming LIS longest increasing subsequence +