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.
The same!, but I use reverse=True, select -1
so simple and easy understand
i like you solution. i remenber to python syntax
nice
It is about IIFE (Immidiately Invoked Functional Expressions)
Well Sir, I think that I didn't get your point.
What I can see is that your solution got loads of time to complete.
This comment is hidden because it contains spoiler information about the solution
I had the same thought, struggling with f64 precision loss using log, before eventually checking the u64 docs and seeing this.
Ahh this is what I was trying to do. (until I found I could cheat with x.is_power_of_two())
This comment is hidden because it contains spoiler information about the solution
I always forget you can do comprehensions directly in methods like this because despite them turning print into a function, I can't stick comprehensions directly into print(without the [] or w/e).
The arrogance..
This comment is hidden because it contains spoiler information about the solution
I need to read more about arrow functions
Nice Solution! Somehow i forgot modulo existed =(
Loading more items...