Files
freeCodeCamp/curriculum/challenges/arabic/08-coding-interview-prep/project-euler/problem-4-largest-palindrome-product.arabic.md

57 lines
834 B
Markdown
Raw Normal View History

---
id: 5900f3701000cf542c50fe83
challengeType: 5
title: 'Problem 4: Largest palindrome product'
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
<section id='tests'>
```yml
tests:
- text: ''
testString: 'assert.strictEqual(largestPalindromeProduct(2), 9009, "<code>largestPalindromeProduct(2)</code> should return 9009.");'
- text: ''
testString: 'assert.strictEqual(largestPalindromeProduct(3), 906609, "<code>largestPalindromeProduct(3)</code> should return 906609.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function largestPalindromeProduct(n) {
// Good luck!
return true;
}
largestPalindromeProduct(3);
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>