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.
had to turn to chatgpt to figure out how to center the stars and the solution was so clever. If you know, you know.
This prompted me to use a ternary operator for the first time. Nice.
Prompted me to learn about all the static methods char and string has. Good one.
Really enjoyed this one. Lots of nice elements to it. Learnt alot from it
Yeah, I had a look at python solutions and if I ignore the solutions that trivialize the kata with builtins, incorrect solutions are common.
It's a beginner kata, it should catch beginner mistakes, and this task makes it easy to create a slightly wrong solution that naive random tests don't catch.
I suggest adding these 75 exhaustive size-4 fixed tests to all languages (gotta love how each language has its own code):
(maybe they need to be renamed again so the answer isn't always either 2 or 3)
size-5 lists might have some limited value too, there are 541 of those though.
This test was really well done. Gave me a good mental workout and really made me have to think about how to get the logic to work.
Found this enjoyable. Sneakily trickier than expected.
Found this really good. Quite challening but not too challenging so I'd give up. Kept me going to find the answer. Nice one
I was same
I think this was my favourite test yet
Yes - I see that now. Don't know what way I was looking at it last night. Thanks
No, the example is fine, 1 + 4 + 4 = 9, not 5.
The example in the description was wrong; should equal 5 not 9
Good challenge. Thought my brain was going to explode.