Ad
  • Custom User Avatar

    Good to know that some katas have performance requirements, looking forward to reach those.

    I've added a comment to the github issue. I wouldn't be so quick to claim it is impossible, this is a platform made by coders for coders after all :)

  • Custom User Avatar

    Actually, I think there is room for this feature.

    the calculated time could be attached to the submitted solution, and when listing the solutions you could sort them by time.

    I've explained here why this is impossible. Some other factors are not mentioned there, but it's more than enough to explain why such feature cannot be added.

    As I understand correctly, I could write a terribly inneficient solution and still pass the kata?

    This depends on the kata requirements.

  • Custom User Avatar

    If you want to solve katas where perfomance matters, look for the tag Performance.

  • Custom User Avatar

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

  • Custom User Avatar

    Sorting makes it a N*LogN solution, while it can be done in N.

  • Custom User Avatar

    Sorting isn't cheap. Isn't there a way to evaluate the efficency of a solution?

  • Custom User Avatar

    Actually, I think there is room for this feature.
    I see that when I submit a solution, it is timed!
    Therefore, the calculated time could be attached to the submitted solution, and when listing the solutions you could sort them by time.
    In any case, I would greatly appreciate such a feature.
    As I understand correctly, I could write a terribly inneficient solution and still pass the kata?
    If so, I think I prefer other sites so that I get pushed to write efficient solutions.

  • Custom User Avatar

    There's no such feature, and there won't be one, as the test setup is provided by CW users.

  • Custom User Avatar

    Hi, I'm new here.
    In some of the competing websites, they give you a sense of how efficient your solution is.
    I assume they run it against a very large N and time it, compare the time to other solutions, etc.
    From the first couple of problems I solved on the site, it didn't seem to have that feature.
    Does it depend on the excercice itself? Or is there no such feature (yet)?