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.
Groovy Translation
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.
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.
C++ Translation
TS: function name should use
camelCase
I think it would be nice to add cleaner differentiation between keys and values.
If you look at example/sample below, it does not really add much to the description. What goes first, key or value? What do we sort by? You can answer these questions by reading the description, but this defeats the purpose of example.
I think something like this would be a lot easier to read and actually complement the text:
(Python) Why is that outputs starting with "For input" and "Fot input" (the third value in the test asserts) get put out as the test result instead of what it should output, even if my function only contains return? Is it an issue with the tests?
javascript should have tests with strings as values, many solutions are only handling number comparison
Rust translation
This comment is hidden because it contains spoiler information about the solution
The random tests in python are literally useless, as they always expect the same result. See my solution.
Java Translation kumited :) Please check and approve ~~
This comment is hidden because it contains spoiler information about the solution
I wrote a Golang translation . I would like to receive feedback from anyone, it's my first time doing it!
Loading more items...