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.
Being able to understand the problem so well and condense it into essentially one line of code is what separates the 1% of programmers from the rest, crazy impressive work
The point of codewars is to practice your problem solving and coding skills by doing the problem yourself, without having a library do the enitre thing for you. Yes you're 100% right that a better and more convenient solution exists, but you won't learn anything about the concept itself if you don't think hard and just google a function for it instead
And about banning the library, you're right that they could've banned it, but it wasn't intended to be used, otherwise the kata would be 7 or 8 kyu instead
Good job, it always feels amazing to finally reach a goal that you set yourself ages ago
I forgot too, but thankfully I realised after reading the formula a couple times
I'm proud of myself for actually solving the problem instead of depending on libraries to do it for me
This was basically my first solution before I learned about
%B
lolmadman
I had a lot of fun with this one :)
I've added random tests
Resolved (I'll add random tests soon)
How would I implement random tests? I've never made a kata before so I'm not quite sure
Nice solution! I'm honestly just glad to see that the kata actually works, it's my first one so I hope you enjoyed it :)
Bulgarian mentioned ‼️
This is so clever but I'm not even going to begin trying to understand what's going on here :p
Great idea to change the parameters into words, it makes the code much more readable!
Loading more items...