Skip to content

Jason-Cooke/Challenge-Largest-Palindrome-Product

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Largest Palindrome Product

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.

  1. Find the largest palindrome made from the product of 2 two-digit numbers is 9009 = 91 × 99.
  2. 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.

Getting Started

  1. Clone this repository
  2. To retrieve all dependecies, run the command: npm install
  3. Your work will be done in the file named: largest_palindrome_product.js
  4. Run your test with the command: npm test
  5. 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.

References

Palindrome

From Project Euler Problem 4

About

Largest Palindrome Product

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%