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.
2 strings for 6-kyu kata is silly
Pretty easy task
This comment is hidden because it contains spoiler information about the solution
( ... && stack.back()[0] != arr[i][0] ) is needed cause 'N' + 'N' = 'E' + 'W'
Good day
Input:
Addison,Jayden,Sofia,Michael,Andrew,Lily,Benjamin
4, 2, 1, 4, 3, 1, 2
n=4
Output:
This is incorrect test? Or maybe i've got logical mistake somewhere?
It would be good to specify what chars are "unique" by adding some examples
I mean this example: " nAa" can return False because of "Aa" or " ".