freeCodeCamp/curriculum/challenges/arabic/08-coding-interview-prep/project-euler/problem-17-number-letter-co...

939 B

id challengeType title videoUrl localeTitle
5900f37d1000cf542c50fe90 5 Problem 17: Number letter counts

Description

undefined

Instructions

undefined

Tests

tests:
  - text: ''
    testString: 'assert.strictEqual(numberLetterCounts(5), 19, "<code>numberLetterCounts(5)</code> should return 19.");'
  - text: ''
    testString: 'assert.strictEqual(numberLetterCounts(150), 1903, "<code>numberLetterCounts(150)</code> should return 1903.");'
  - text: ''
    testString: 'assert.strictEqual(numberLetterCounts(1000), 21124, "<code>numberLetterCounts(1000)</code> should return 21124.");'

Challenge Seed

function numberLetterCounts(limit) {
  // Good luck!
  return true;
}

numberLetterCounts(5);

Solution

// solution required