first, I woulf say, figure out the steps, how would you solve it with pen and paper?
once you have a process that can give the correct answer with any pair of words, then think of how to translate that in javascript
first, I woulf say, figure out the steps, how would you solve it with pen and paper?
once you have a process that can give the correct answer with any pair of words, then think of how to translate that in javascript