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.
very nice simplification of unnecessary calculations.
Yes, this kata is horrible, but you need to use the formula exactly as it is in the description. Yours is missing a pair of brackets.
How do you get from digit 9 to digit 3? It's not adjacent. Everything seems consistent with description, unless you're misunderstanding it.
I've changed the description to more wide-spread so the case for
n < 0
should be applied more clearly + added examples.I guess I can resolve this question
Hey. I know/remember almost nothing about CommonLisp, but I checked your current solution and the way you're checking for equality seems wrong. Take a look at sample tests to see what form "dir" argument is of.
As for assertion messages, they indeed look weird, but the tests seem to pass the right values, so maybe it's just an issue of displaying incomplete/wrong error messages in assertions.
I don't know if the description has changed since the comment, but it clearly states now:
Thanks for the feedback! I will definitely work on this kata to make it better!
Not really... Because of the issues mentioned below && being too similar to a lot of 8kyus, like this one
Also, it seems like you and the author come from the same institution / bootcamp. Then it is adviced for yall to solve more katas before attempting to author. (There's 10K ++ katas already, and trying to find a novel idea requires more experience which can be gained through solving ^^)
Also, do read authoring guidelines before authoring next time ^^
The best kata for MAU CS students
GET OUT π―π―πππ
You can move it draft (removing it impossible after someone solved it), to avoid incoming downvotes from other beta testers :P
The idea of basic generators has been explored pretty well in other katas, and this one doesn't really offer anything new. Try coming up with a more novel idea after solving some more katas :D
Yes it is, unfortunately.
Approved, thanks
You always need to use return. Print is for debugging.
What does that mean, and what's the suggestion?
Loading more items...