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.
Approved
python new test framework is required. updated in this fork
C# translation ready! Please review and approve.
For
C
version I wanted to useisspace
orisblank
function for readability excep the Kata is unclear whether chars\t
,\v
,\f
,\r
are possible in the input string or not.Perhaps the description should clearly state those chars are never present in the input, or there should be a test for them which will fail any solutions where someone does try to use
isspace
.Thanks :)
C translation (author gone)
Thanks
Approved
JavaScript translation kumited, feel free to check :)
This comment is hidden because it contains spoiler information about the solution
Ruby translation kumited :) please review and approve ~~
Agreed, it's not clear that duplicates are to be removed, nor the extra newline
The special characters and the double space kept me busy longer than excpected...
Thanks for the kata.
Nice kata. This algorithm was one of the tasks from my own "Must Do"-list. I wanted to solve it just for my own satisfaction. Now I could even earn points and honor. Thank you!
I was also suprised by your 3rd test case. But I am ok with your argumentation. Does it matter if it's the first repeating single letter in the string or the last one? In the test case there is only one repeating single letter. so it doesn't really matter... but may be that is sth you should consider when creating more test cases or even randomized tests!
...just realized that the postings are 2 years old...so, no need to read my second paragraph...
Loading more items...