Ad
  • Custom User Avatar

    Don't worry. I hope you try this kata again then, now that you see how it should work.

  • Custom User Avatar

    Already discussed below, but between 101 and 107 there is another prime: 103. So no gap of 6 there.

    A prime gap of length n is a run of n-1 consecutive composite numbers between two successive primes

  • Custom User Avatar

    It worked for me and other 885 warriors. Maybe your code is the problem? It could be not fast enough.