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.
and there it was. a whole library that fixes the problem in no time, shitting on my algorithm that timed out 10 different times
It'll feel good when you beat it though. :)
this one is an absolute beast. it has kicked me in the pants at least five times now, causing me to scrap refactoring and start fresh again and again. i wish i had to mark this comment as including spoiler content lol. but it's just a note of desperation.
yes. apparently the tests don't catch O(n^2) solutions despite the description.
100%. there are plenty of unoriginal, poorly constructed/described/tested katas on here. this is clearly not one of them. it's a disservice to the community and the authors not to differentiate the good stuff from the bad by voting rationally.
man, this isn't your daddy's 6 kyu kata lol. good one tho.
Should be used as referee as it is the fastest solution.
Or
gmpy2
should be forbidden asBigInt
is forbidden in Java.Fork that should fix this issue.
ReferenceImplementation.result
returns now a list of acceptable names ;_test_most_weekend_birthdays
checks that the actual name is in the expected names ;allow_raise = True
param in the last tests before the random ones.test fails with 'Issue with shared date of birth' message for inputs:
Urma and Victor have the same birthdate (and more weekend birthdays than Xavier). according to the kata description, the tests should accept either Urma or Victor, but they reject Victor.
why python is too OP?
how it work?
This comment is hidden because it contains spoiler information about the solution
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
Loading more items...