Ad
  • Default User Avatar

    this isn't going to be approved without random tests even though the js implementation is also missing them

    the assertions should probably compare the whole return value instead of splitting it up into two parts

    that also makes type/length assertions redundant

    unclear whether less than two points is valid input, I'd be inclined to update description to state 2 <= len <= 500 because it isn't really a corner case but rather an invalid input so it isn't part of the problem

  • Default User Avatar

    missing test size spec in description, which is required to understand what problem needs to be solved

    js tests need to be updated, missing random tests + other issues

  • Default User Avatar

    As a new comer on Codewars, I wanted to try to translate some kata, and was inspired by this one...

    So I've prepared a Python translation.

    Anyone to check, comment and possibly approve ?