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.
Thanks!
Fork that adds
["","","","",""]
as fixed edge case.Missing fixed test for
in Haskell
A great exercise that utilises an extremely useful function.
This comment is hidden because it contains spoiler information about the solution
Approved some time ago
now that i see my mistake feel like an idiot , thank you for helping! still learning :)
String is immutable in Python, so you are returning the original array despite you have reassigned each string to be the correct format
Your solution fails for cases like ['a', 'a', 'a'].
OP solved it, closing
The first non-working code is you will return the result as a string after the first iteration. And the last line of code will not be reached (unless
lines
is an empty array)This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Great Kata, but should probably be an 8 kyu.
Added the quotes around the strings.
Loading more items...