Retired

How many e's are written when one counts up to n? 1. Chinese (retired)

26 of 27jungerstein
Description
Loading description...
Fundamentals
Puzzles
  • Please sign in or sign up to leave a comment.
  • Voile Avatar

    Test case only goes up to n = 8000000, even O(n) solution passes. There are no actual performance constraints, which the description is implying to have.

  • Voile Avatar

    This is a duplicate of https://www.codewars.com/kata/55143152820d22cdf00001bb (digit to count changed from 9 to 2).

  • jungerstein Avatar

    I know that there have been so many similar katas.

    However, this kata has its own settings and I recommend you to figure out the shortcuts yourself instead of being hinted so directly and thinking the katas are all the same thing.

    That is why I decided to make this kata.

    I am sorry for making it so similar, but the settings can be used for something far more complicated.