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.
Agreed.
You have a typo in the example namely in the output of the last number:
ListFilterer.GetIntegersFromList(new List<object>(){1, 2, "a", "b", "aasf", "1", "123", 123}) => {1, 2, 231}
There should be:
ListFilterer.GetIntegersFromList(new List<object>(){1, 2, "a", "b", "aasf", "1", "123", 123}) => {1, 2, 123}
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/227.
Please join the discussion to help us identify duplicate kata and retire them.
Posting a spoiler solution is not a kata issue, it's a user issue.
This comment is hidden because it contains spoiler information about the solution
so easy, so fun!
Not a kata suggestion
More Optimal
the situation depends on the language. in C# and F# at least, the user's solution is required to return a list of
int
by the type signature, while e.g. Java returns a list of objects. there has likely been some translation drift over time, as this is a very old kataHi, I replied to your other comment. I see your logical point, though. Would you like to consider re-writing the description? You could leave that posted with a suggestion flag.
This comment is hidden because it contains spoiler information about the solution
I thought that the Test examples asked to read the numbers from the string and remove repeated cases! I should pay more attention next time :/. But better examples with diferent numbers than the ones into the string would be awesome.
This comment is hidden because it contains spoiler information about the solution
That was fun! I was also able to use foreach this time instead of plain old for loop, so happy to have this opportunity!
This comment has been reported as abusive
Loading more items...