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.
I've created one now, awaiting review.
I've created a Rust translation for this kata, please review and approve!
I ported some of the test suite improvements back to the Python version; the decoding of the test puzzles was simplified by quite some distance.
How about 12? will it be passed by this regex?
This has never been a robust way to do things and C23 will remove support for empty parameter lists (
()
will become an alias for(void)
). The proper way to upgrade this kata to conform to C23 is to modify the parameter lists of the vtable pointers so that they take avoid *
(destroy()
) /const void *
(get_area()
/get_perimeter()
) parameter and let the implementation functions cast that argument to the correct type, as is usual for type-generic functions in C, in the same fashion asqsort()
's comparison functions.i thought the author was well known for adding twists to existing problems
Love this. It's clean and very understandable - with no extra libraries.
Why should there be a difference? Do they own problems?
what is the difference between this and the project euler one
I hate this.
holy crap - how did I miss out on this lol
Very clever! Good catch that you didn't need to translate '456', as their position remains the same.
wow, it's clever
Funny dynamic programming problem to exercise with.
That is Sierpinsky (fractal) triangle, most of the entries don't matter, you should find a way to drop these spaces.
To realize this, you may examine binomial coefficients by modulo 3.
I cannot understand most of the solutions, at least from first glance, and my own solution is rather intuitive
This translation has been rejected some time ago
Loading more items...