Ad
  • Default User Avatar

    Hello! Why do I have such a result?
    Expected: [764, 987, 567, 155, 329], instead got: [329, 312, 181, 266, 606]

    what are the parameters here: a.letgth = ? i = ? n = ?

  • Default User Avatar

    Thank you, so much! It helped!)))

  • Custom User Avatar

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

  • Custom User Avatar

    the test has limited cases. when you attempt, it runs more number of different cases than during initial test. Probably it is showing an error in cases when array2 or array1 are null or None. what to do in these cases has been specified in instruction

  • Default User Avatar

    Hell, all!
    Why array2 is not iterable?

    when I apply any of the iteration methods to array2 - it's an error.

    the test passes, but when I press try, it says that array2 is not iterable.

  • Default User Avatar

    I agree. My mistake is that I misunderstood the task. :)

  • Default User Avatar

    Unfortunately you are wrong. Look at the top of the page: 13404 people passed the JS kata. If there were errors somebody would have seen them before. Cheers.

  • Default User Avatar

    Hi, guys!
    Maybe I'm wrong, but this test is wrong "testing(longestConsec(["wlwsasphmxx","owiaxujylentrklctozmymu","wpgozvxxiu"], 2), "wlwsasphmxxowiaxujylentrklctozmymu")"
    Because, this array has the longest string at index 1.

    Correct me if I'm wrong. Thanks!