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.
I Agree :)
Yeah! The Kata's Valid. I wrote some unnecessary code which resulted in undesired outputs
not an issue with the kata
(and there are no quotes in your input string)
I think there is an issue !
My code Failed for the following test case:
solution('pears lemons\n? apples oranges cherries\napples oranges lemons oranges pears\npears cherries apples cherries ?',
["'", ',', '?', '=', '#', '.'])
My solution :-
'\n\napples oranges lemons oranges pears\npears cherries apples cherries'
Expected solution :-
'pears lemons\n\napples oranges lemons oranges pears\npears cherries apples cherries'
Isn't "'"(single quote) a comment marker ? I'm Confused