Shortest Uncommon Subsequence Leetcode Javascript