Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Just added them, thanks
missing random tests
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.
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
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.