@@ -0,0 +1,546 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/check-if-word-equals-summation-of-two-words/%0A */%0Apublic class Problem1880 %7B%0A    public boolean isSumEqual(String firstWord, String secondWord, String targetWord) %7B%0A        return toNumber(firstWord) + toNumber(secondWord) == toNumber(targetWord);%0A    %7D%0A%0A    private static long toNumber(String word) %7B%0A        StringBuilder sb = new StringBuilder();%0A        for (char c : word.toCharArray()) %7B%0A            sb.append(c - 'a');%0A        %7D%0A        return Long.parseLong(sb.toString());%0A    %7D%0A%7D%0A

Solve problem 1880