Leetcode Check If Two Strings Have A Common