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.
This actually made me laugh !
I agree, although I would never get to the mathematical formula, as I'm not a mathematical person, but there is a massive difference between running the function with a considerably high "m" number
when your solution solves it instantly.
Very interesting the always problematic execution time :)
This is interesting, just can't understand why Y is associated with the second position on the list index and not the first.
There is always that one funny guy innit
This just proves how crap this Kata is...
You should avoid exceptions if you can solve the problem with an if statement.
So smart, you pack everythin in S, well done :)
This comment is hidden because it contains spoiler information about the solution
Your first comment to the solution is literally saying, "My Solution is Better than the top solutions"
Unless you dealing with huge data sets that upscale tremendously, using binary search is not more than making a one line code translated into nonsense, which is exactly what you did, I hardly believe and employer will ask you to do this for something that has a time complexity of O(nlog(n))
Why is this long winded block of code best practice ?
I'm going to be honest, it's either bad english or a bad explanation because nothing is making sense, It's really annoying.
Why the best practices not being updated ? Tests are being added that make the best practice not valid.
Makes no sense.