A Ruby Solution to a Cryptarithm 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
ruby
installed to be able to useruby
and to also run the application - Run
ruby script.rb
to view the solution
- Ruby
MIT - Feel free to use in part or whole