A palindromic number reads the same both ways.
The first argument and only argument sets the requirement for the total digits in a factor.
10 is a two-digit number
1996 is a four-digit number
There are 2 tests initially, make the tests pass.
- Find the largest palindrome made from the product of 2 two-digit numbers is 9009 = 91 × 99.
- Find the largest palindrome made from the product of 2 three-digit numbers. Write two tests that check the return object for the correct factor values.
- Clone this repository
- To retrieve all dependencies, run the command:
npm install
- Your work will be done in the file named:
largest_palindrome_product.js
- Run your test with the command:
npm test
- There are two tests total. Make them pass!
When you are done, push your answer to the master
branch, and checkout advanced
branch and read the Advanced portion of the readme.