1
votes

you are provided with an array of different words and target words. each character of word represents different digit from 0 to 9 and each different characters must represent different digits. return if sum of number represented on array equals to the number represented by targeted word, otherwise return false. Input: words = ["THIS","IS","TOO"], result = "FUNNY" Output: true Explanation: THIS+IS+TOO=FUNNY 9274+74+988==10336 as T=9, H=2, I=7, S=4, 0=8

Welcome to Stack Overflow! There are websites where you can hire a programmer to work for you. This is not one of them. To learn more about this community and how we can help you, please start with the tour and read How to Ask and its linked resources. - David
Please let us know which technology you are working with. Please describe your problem in such a way that others can understand your problem. - Andreas Fritsch