Cryptarithmetic Problems Leetcode 150