Leetcode solving: 1160 Find Words That Can Be Formed by Characters