Shortest Common Subsequence Leetcode Problems Javascript W3schools