leetcode 1002 find common characters