Ad
  • Default User Avatar

    This Kata has a mistake in the description or in JavaScript tests.
    Kаtа Description: "Any activities completed that are ranking 2 levels or more lower than the user's ranking will be ignored".
    But tests require that progress in these cases is still increased by 1, and not ignored.
    Please correct either the description or the tests!

  • Default User Avatar

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

  • Custom User Avatar

    this solution returns pos=[3, 7, 10], peaks=[6, 3, 4] and not pos=[3, 7], peaks=[6, 3], for this input.

  • Default User Avatar

    This solution gives a failure to this arr 3,2,3,6,4,1,2,3,2,1,4,3
    it says it should return pos=[3, 7], peaks=[6, 3]
    but this actually returns pos=[3, 7, 10], peaks=[6, 3, 4]
    which I think is ture because if Iam not wrong 4 here is a peak!!