Ad
  • Default User Avatar

    I came across a couple top-voted solutions with run-times of O(n^2) or worse when even a O(n) solution exists to the given kata. Sure the linear solutions may be longer, but solutions with horrible run-times should not be promoted as "best practices".

    I don't know how to bring the upvoters' attention to run-time performance. But some general mechanism would be helpful to prevent people from converging on suboptimal solutions.

  • Default User Avatar

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