the letter value letter position alphabet start 0 ie 0 b 1 c 2 etcThe numerical value string lowercase English letter s concatenation letter value letter s convert integerfor example s acb concatenate letter letter value result 021 after convert 21you give string firstWord secondWord targetword consist lowercase English letter j inclusivereturn true summation numerical value firstWord secondWord equal numerical value targetword false example 1input firstWord acb secondWord cba targetWord cdbOutput trueexplanationthe numerical value firstWord acb 021 21the numerical value secondWord cba 210 210the numerical value targetWord cdb 231 231we return true 21 210 231example 2input firstword aaa secondword targetword aaboutput falseexplanation the numerical value firstWord aaa 000 0the numerical value secondWord 0 0the numerical value targetWord aab 001 1we return false 0 0 1example 3input firstWord aaa secondWord targetword aaaaoutput trueexplanation the numerical value firstWord aaa 000 0the numerical value secondWord 0 0the numerical value targetWord aaaa 0000 0We return true 0 0 0 constraints1 firstwordlength secondwordlength targetwordlength 8firstword secondWord targetword consist lowercase English letter j inclusive