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.
It comes a bit late, but i second your opinion.
I come to this site in search for puzzles that help me improve my algorithmic and coding skills and too often stumble in problems that rely on deep knowledge of Math.
This comment is hidden because it contains spoiler information about the solution
That's not entirely true. I have some experience in programming, but i'm learning Python now too, just like you.
I found that problem difficult, yet very interesting. Good luck!
Congratulations! I always love the feeling when i get that big green button after having wrapped my mind around a difficult problem.
I've only been a member for a few weeks. This took me just a couple of hours, but there are other 3-kyu problems i couldn't yet solve. (This one took me some 12 hours, for example: https://www.codewars.com/kata/58905bfa1decb981da00009e/train/python .)
I looove recursion. It is often the first thing that comes to mind. There are usually better algorithms, but in this particular case this was the right one. (I think.)
By the way, you're the first follower i have! Thank you! I'll do my best not to disappoint you. :)
Great minds think alike? :)
I too confirm that the randomTest is broken in PHP 7.
It's not everyday that i come by solutions that are short yet as simple and easy to read as this one. Kudos @Blind4Basics .