Ad
  • Custom User Avatar

    This Kata uses a very ridiculous optimization technique. Let's just say, the Kata really wants you to optimize the fact that only up to exactly a million elements will tested. It's overkill if you ask. Your algorithm is likely correct, but try to aggressively optimize everything other than your algorithm too.