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.
For EVERY initial array there are FOUR steps and ONE final array.
You have to figure out what is that final step ... by comparing with other examples.
Closing the question, please mark your posts as having spoiler content when they do.
Indeed, it does not. Do you have idea why?
Hint: try to recreate failing test case locally (see here how to get failing input) and debug through it in your IDE.
Python's % is modulo, javascript's % is remainder.
If you mean that your two solutions behave the same way then you could try the failing tests on both solutions and see if they really do respond the same.