A javascript solution to a CryptArithmetic puzzle
In the multiplication problem below, each letter represents a UNIQUE digit. Write a script to find all possible solutions. The final output of the script should generate the total number of unique solutions and should display each solution in the format below with the digits replaced.
FUN
x BBQ
---------------
SUMMER
- Clone the repository and cd into the project folder
- Ensure that you have
nodeinstalled to be able to usenpmand to also run the application - Install Packages
npm install - Run
node script.jsto view the solution - Run
npm test -- --coverageto run the test modules
- JavaScript (Node.js, npm)
- Jest for tests
- TravisCI for continous Integration
Script written in response to a challenge by Ideas Come To Life
MIT - Feel free to use in part or whole