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

    Do you happen to know if this is a rule that applies to all codewars challenges?

  • 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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution