Print Shortest Common Subsequence Leetcode