Determine If Two Strings Are Close Leetcode Solution 1