Leetcode Similar Strings Hackerrank Solutions Javascript Interview