Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Totaly my bad @bkaes .. I don't know honestly what I was thinking when typed this .. closing my issue now .. so sorry for wasting your time !!

  • Custom User Avatar

    Which language? Also note that the n in your example is a lot smaller than the actual array size.

  • Custom User Avatar

    Some random tests doesn't seem to be accurate.. If I didn't missunderstood the kata asks for an empty array response if n > arr.size but the tests expect an array with lots of numbers.

    Description quote: "If n is greater than the length of the array/list, return an empty list/array"

    One example: n => 105 ; arr.size => 734

  • Custom User Avatar

    Seems like tests are still broken:

    Testig for Anri
    It should work for random inputs too - Expected: "Anri and likes this like this", instead got: "Anri likes this"

    Testig for Brian J. Mason
    It should work for random inputs too - Expected: "Brian J. Mason and likes this like this", instead got: "Brian J. Mason likes this"

    Testig for Leon McNichol, Quincy Rosenkreutz
    It should work for random inputs too - Expected: "Leon McNichol and Quincy Rosenkreutz and like this like this", instead got: "Leon McNichol and Quincy Rosenkreutz like this"