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
node
installed to be able to usenpm
and to also run the application - Install Packages
npm install
- Run
node script.js
to view the solution - Run
npm test -- --coverage
to 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