Ad
  • Custom User Avatar

    No, it's only for higher level katas and those that have PERFORMANCE or OPTIMIZATION tags. In general, it's a good thing solving a problem in the less time possible.

  • Custom User Avatar

    You have 3 nested loops there (for, includes and indexOf). It won't work with big arrays, that's the reason for the timeout.