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.
done
Clever solution but just for reference for others: using try/catch (etc) blocks in situations where you can control the exceptions could be considered bad practice as each try/catch adds considerable overhead.
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!
I have been a memeber since last year when I just started to learn Python. You are a experienced programmer! And I want to delve into that 3kyu lift problem tonight :)
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. :)
yep:) I've been working on it since last year and just solved it today :)
Great minds think alike? :)
me the same
I too confirm that the randomTest is broken in PHP 7.
thx ;)
It's not everyday that i come by solutions that are short yet as simple and easy to read as this one. Kudos @Blind4Basics .