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.
I completely agree with Farisch. Even if explained below, I had to come to the comments to understand it. At first sight, it makes no sense. The description should be changed to properly explain the "order of appearance" criteria.
@Pyeroh: you are correct.
For your first example, no, these arrays shouldn't be equal. Maybe it's not clear enough, but as I understood it, instructions should be followed in the order they are given. So if EAST comes before NORTH, then you should output ['EAST','NORTH'].
Not a kata issue, already explained several times before. Check the posts below before creating another issue.
It's even shown why
[3,7]
is the right answer in the description.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Can someone explain?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution