017 - Number letter counts - Project Euler Challenge - JavaScript freeCodeCamp

Опубликовано: 03 Май 2022
на канале: Ganesh H
294
6

If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to given limit inclusive were written out in words, how many letters would be used?
Note: Do not count spaces or hyphens. For example, 342 (three hundred and forty-two) contains 23 letters and 115 (one hundred and fifteen) contains 20 letters. The use of "and" when writing out numbers is in compliance with British usage.

Link to Challenge : https://projecteuler.net/problem=17

Full Playlist:    • Project Euler - JavaScript  
Project Euler Written Guides : https://www.notion.so/ganeshh123/6259...
All My Tutorials can be found at : https://tutorials.gn3.sh

————————————————————————————————————
Project Euler (named after Leonhard Euler) is a website dedicated to a series of computational problems intended to be solved with computer programs. The project attracts adults and students interested in mathematics and computer programming. Since its creation in 2001 by Colin Hughes, Project Euler has gained notability and popularity worldwide. It includes over 700 problems, with a new one added once every one or two weeks. Problems are of varying difficulty, but each is solvable in less than a minute of CPU time using an efficient algorithm on a modestly powered computer. As of 5 April 2020, Project Euler has more than 1,000,000 users, from all over the world, who have solved at least one problem.

NOTE: I am not a teacher by any means, these videos are just to help me improve my understanding.

Thanks for Watching!


Смотрите видео 017 - Number letter counts - Project Euler Challenge - JavaScript freeCodeCamp онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ganesh H 03 Май 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 294 раз и оно понравилось 6 людям.