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.
Without specifics, this issue is useless. Please provide language and specific test cases. Closing.
4^2 + 9^2
This comment is hidden because it contains spoiler information about the solution
Imagine a spiral staircase, where walking [n, w, s, e] will result in going up (or down) the stairs. But walking [n, s, e, w] in that order will result in staying put.
Anyway, better to follow the problem spec than to complain about it.
I removed a section of code that was valid before codewars upgraded. Should be fixed now. Thanks for reporting it.
Try again guys.
This comment is hidden because it contains spoiler information about the solution
Ditto! I pass the trial. Then when I submit it says I pass 52 tests and fail 52 tests. But it won't show me the test results, so I don't know what is wrong. I am programming in javascript and assuming that the array contains only unique numbers, etc.
For me, Javascript
Which language?
Same here! I'm getting 52/51, still don't know why!
Don't you have the name of the symbol which is not found? Certainly you have misspelled some word.
What is the concrete problem?
This kata works without problems.
Please give examples of test-cases, that do fail.
It is all in the description:
"As an added challenge, upper- and lowercase letters are considered the same character, but the function should return the correct case for the initial letter. For example, the input
'sTreSS'
should return'T'
."Same here, tests fail in C#
42 + 92
Loading more items...