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.
every solution is valid. If you passed Testing phase that mean you've something in the brain !
Well this is very clever and an extremely fast O(1) solution, but it may not be obvious to most people what this giant line of computation is doing, so probably it's not very clear. Took me about 45 seconds to realise what it was doing and then I thought "oh wow thats amazing how come I didnt think of that..."
ChatGPT would easily understand that sentence and write code for you
return classmates times pages if classmates bigger 0 and pages bigger 0 else 0
imagine you could write the code like this :D
But it's so simple to read lol
))
@uniapi Thank you!
You're welcome!
@joshsj89
*if r is less than or equal to 3
I felt the same way when I saw this solution ^_^
Wow I didn't know what a deque was, I'm guessing it's some sort of a circular list?
..... what?
If you think that the compiler will do it for you
So somebody should do it for the compiler
Because the compiler does not impelent itself...
)))
Thanks for the nicely documented code
Thank you for this explanation!!
Loading more items...