Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Just added them, thanks

  • Custom User Avatar

    missing random tests

  • Custom User Avatar

    Please move your print statements to the beginning of the function, not the end. You are failing a different test entirely, and your first few conditions aren't correct. Your solution is almost correct, but not quite.

    Not a kata issue.

  • Custom User Avatar

    array1: [121, 144, 19, 161, 19, 144, 19, 11]
    array2: [121, 14641, 20736, 36100, 25921, 361, 20736, 361]
    array1_sorted: [11, 19, 19, 19, 121, 144, 144, 161]
    array1_squared_sorted: [121, 361, 361, 361, 14641, 20736, 20736, 25921]
    array2_sorted: [121, 361, 361, 14641, 20736, 20736, 25921, 36100]

    False should equal True

    Can someone tell me why this test should be True?

    If 36100 its not in array1_squared_sorted it should be False as far as i understand

  • Custom User Avatar

    Hi, thanks for your comment.
    The error to this day still exists, with inputs like "List (mov n 20, mov q 28, mov z 0, jnz z 4, jnz n 4, dec n 0, inc n 1, inc q 0, inc q 1 , dec q 2, inc q 3)"
    Hope it gets corrected soon and thanks for reporting on it.
    This issue should not be marked as resolved.