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.
Python, don't make me cry :(
This comment is hidden because it contains spoiler information about the solution
Thanks :)
This comment is hidden because it contains spoiler information about the solution
Thank you! Sadly I'm not familiar with C. Hence, looking for feedback :)
Published a java translation, looking for feedback :)
Suggestion: Remove
valid color
andvalid flavor
from the description.Looking at
zebulans
issue that was resolved 5 years ago, a decision was made to not test forcolor
norflavor
.We should rephrase the corresponding paragraph to avoid further confusion :)
Is this issue about JS? I haven't run into this issue when using the C# version :)
C# version has an issue:
The solution setup has an int as input and returns int[],
but the random test expects a long as input and long[] as return type.
Simple Solution: Fix the solution setup by replacing int with long and int[] with long[]
I'd love to propose a cleaner solution, but I'm worried this would invalidate existing C# solutions ... :)
Reject switch, return to if
Random tests in Python have an unexpressive message, e.g
testing for triangle_area(Triangle(<preloaded.Point object at 0x7f1a1300eeb0>, <preloaded.Point object at 0x7f1a12f8a220>, <preloaded.Point object at 0x7f1a12f19be0>))
To solve this,
Point
should have a meaningful__str__()
implementation :)This is a technical Kata, it requieres some knowledge of network addresses to understand the description.
Although all terms are explained in the description, it's quite brief and may not be enough for some users.
I suggest we link explanations for MAC and IPv6 addresses. If someone is struggeling with the technical nature of
the Kata, they have a good starting point :)
If all hexadecimal characters in the output have to be lowercased,
it should be stated wether we can expect a lowercased input as well :)
Refactor random test:
1.) move input and output inside the function
2.) show input in test information
For example:
I love how varied the solutions are :)
Most other SQL-Katas are quite superfacial compared to this one
Loading more items...