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.
I've seen similar things done in a purple kata once
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
approved at 5 kyu: ranking votes
done! thanks for also providing the solution!
added tests for checking duplication
This comment is hidden because it contains spoiler information about the solution
ah i see , i will add that now. Thanks!
This comment is hidden because it contains spoiler information about the solution
can you please provide an example? also should i add more test cases for duplication cases?
Cases with duplication of integers are not properly tested, and solutions, which fail example tests, may actually pass main test suite.
I think that the current description is good. It is important to explain why the given powers are close to integers. My approach is not very obvious: Other solutions do not use it.
Loading more items...