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.
Nice Kata
its pretty hard for 7kyu
if you already done Moves in squared strings (III) this kata is pretty easy
Nice Kata
Please review and approve Java Translation
Note: author is inactive
Nice Kata
It's a question, not an issue. 15606 people passed the Python kata so I am sure there is no problem in the tests. Issues are for problems in the kata itself, not for problems in your code.
Print the input!
This comment is hidden because it contains spoiler information about the solution
Not sure what the issue is, but the solution input provides all of the solutions but isn't getting picked up for some reason.
Ok, I guess I can't understand the task. As I understand it, the results should be as follows:
[SOUTH, EAST, SOUTH, SOUTH, EAST, NORTH, EAST, NORTH]=>[EAST,SOUTH,EAST,EAST].
[NORTH, EAST, SOUTH, NORTH, SOUTH, SOUTH, SOUTH, NORTH, EAST, NORTH, NORTH, EAST, SOUTH, EAST, SOUTH]=>[EAST,EAST,EAST,EAST,SOUTH]
[EAST, NORTH, EAST, SOUTH, NORTH, NORTH, SOUTH, EAST, SOUTH, SOUTH]=>[EAST,EAST,EAST,SOUTH]
I missed "Write a function dirReduc which will take an array of strings and returns an array of strings with the needless directions removed (W<->E or S<->N side by side)."
Sorry, "side by side" by google translator like: "Near", "in the same array".
If there was such an example, I would understand the error right away
Sorry, no errors in the tests. C# kata passed by 3131 people. If something was wrong don't you think that somebody else would already have seeen it?-)
Please when posting an issue give the input, your output, the text message.
Those error messages look good to me. Make sure you haven't misunderstood the task.
C# tests are wrong:
test(7):
input=[SOUTH, EAST, SOUTH, SOUTH, EAST, NORTH, EAST, NORTH]
Test Failed
Expected is <System.String[8]>, actual is <System.String[4]>.
But 4 is right!
test(10):
input=[NORTH, EAST, SOUTH, NORTH, SOUTH, SOUTH, SOUTH, NORTH, EAST, NORTH, NORTH, EAST, SOUTH, EAST, SOUTH]
Test Failed
Expected is <System.String[11]>, actual is <System.String[5]>.
test(8):
input=[EAST, NORTH, EAST, SOUTH, NORTH, NORTH, SOUTH, EAST, SOUTH, SOUTH]
Expected is <System.String[6]>, actual is <System.String[4]>
Nice Kata if u catch the concept it's pretty easy
This comment is hidden because it contains spoiler information about the solution
Loading more items...