Ad
  • Default User Avatar

    I was wondering the same thing...

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    It's a possibility. Now you can see comparing with other solutions that it was not the only one.

  • Custom User Avatar

    A single online research will give you the answer. There are advanced techniques faster than a sieve of Erastothenes, but you don't need them to solve this kata. Actually you don't even need a sieve. Just think and try to find a method suited for your purpose. What's the purpose of a sieve? Is it actually what you need? If you think it is (it may be, it may not be), do you use it optimally?

  • Custom User Avatar

    One (or more numbers when they're equal it's a plateau) greater than their neighbors on both sides.