Ad
  • Custom User Avatar

    To answer one of your questions: Compile time is included in the time limit.

  • Default User Avatar

    Your algorithm is likely not scaling well in terms of performance for bigger n.
    My first algorithm would get the 12 sec limit when attempting this kata.
    Turns out I had to take a completely different approach for it to scale better. My submitted solution on my i9 takes almost 5 seconds to compute "theBee 1000".
    I benchmarked other solutions on the site, and they took between half the time, to double the time of mine.