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.
Your fork should be taken as ref sol imo
Addressed by latest fork
Hi, how many tests there are? I am able to pass 44 of them before it times out... :(
Actually, I really enjoyed this one... I stumbled a long time on how to make it faster... Also finding a coordinate to spiral_number algorythm took me some times... I have to say I wonder why it is only a 5 kyu but I am new that might explain...
Thank you
It was my previous profile (2 kyu). I tried to do every katas just with one-liners but one person commented I am a cheater and he is sure I use a converter which makes those one-liners. I did not want to argue, so I just deleted that profile. Since then I registered this new account with the same email address and github profile but with different name, and I don't make one-liners anymore. Ok there are some exceptions when that is the most logical solution, but that is just a few case.
If you don't believe me that was my account then just check the 8kyu Katas, I have completed all the 8 kyu katas with that account (with this also), so you will find the soulutions of user7807731 at all the 8 kyu katas which are more than 2 years old. I deleted that account just a few months before I moved to Nepal. Unfortunately it was not possible to restore the deleted account, but at least I practice those katas again.
best joke of the day
link updated in the description
This comment is hidden because it contains spoiler information about the solution
IMHO this is an issue.
What? I avoid this approach on purpose. I try to solve these challenges without googling at all. And if I google I only google small part of what I need. After solving it, I look for good solutions among the answers to learn from. This is not one of them. My answer is horrible, but it shows the actual implementation. The solution of this guy is "google a module that solve the entire problem". But I already know how to google. So I'll have a look for someone further down that actually managed to solve the problem
Do you really wish you thought of googling? Because that is all this answer requires if you don't have the library name in your head.
It's like saying "wish I had used chatGPT to solve this problem"
Sure, you may use chatGPT as a tool in your work, but it would remove entire point of coding challenges
Solutions like these aren't allowed in most coding interviews. It's not impressive. It does not show skill. It is not educational. At this point I wonder why even post a solution at all? What do you get from it? It's like voluntarily taking a math quiz for fun, but then copy paste all the answers from the solution manual
Dear god, thank you for this explanation! This kata was really fun but the instructions were terrible. I must have reread them 20 times trying to figure it out and got nowhere until I read this!
Thanks! trying to make it below the 200-characters mark without requiring to "utf" trick
wow, well done!
I used your approach to get down to 204 characters
This comment is hidden because it contains spoiler information about the solution
Your kata seems really interesting. I will give it a go after I'm done with this one.
Loading more items...