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.
Yeah I have the same issue
Could you explain how are you using that recursive function to find the GCD of two numbers? Like is there some theory behind this method and why it works?
My code went for about 20 lines and still failed most of the test cases. This is just a brilliant way to solve this wow.
Sameeeeee
Oh My God. It took me some time to understand it but wow this is cool. I was convinced that we had to use while loops to solve this (idk why) and my solution is very messy but I somehow made it work.