Ad
  • Custom User Avatar

    True, I was really just trying permutations to see if it effected the time to run the solution. My solution was also O(n), but the timeouts prevented submission...

  • Custom User Avatar

    I would not be surprised if most people cannot complete this kata due to time out issues. Sometimes I can do one or two tests and sometimes none with a time out. Refactored to recursive with no speed improvements. Could not complete this kata (fairly sure it works fine, does locally on number arrays > 1000 items).