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.
Not a kata issue, there are problems with your solution.
This comment is hidden because it contains spoiler information about the solution
This is what happens, if you don't know the syntax even a little bit (I had to google, how to make while-loop in golang)
From what I see in other solutions, though, the syntax is terrible (why they made a language, where IF/LOOP condition is not embraced, or where type is written after variable's name?). It's like they tried to make it different from C, for the sake of it.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Cases with duplication of integers are not properly tested, and solutions, which fail example tests, may actually pass main test suite.
Fixed, thank you :D
This comment is hidden because it contains spoiler information about the solution
Accepted, thank you!
This comment is hidden because it contains spoiler information about the solution
I'm glad, you liked it!
https://www.codewars.com/kata/reviews/66c0c8f47cc6054b62142b47/groups/66c42ba05d93e5ceae4f5642
@Just4FunCoder, would you approve the translation, please?
Done. I initially didn't use
inspect.getsource
, because it doesn't work with functions, defined in terminal (it requires import path or something), but forgot, that codewars imports the function from other file, soinspect.getsource
would work.Loading more items...