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.
Nice one! I've really gotta get better at that format string syntax!
That's clever for sure!
nice :)
could anyone explain what makes 2*(n-1) option better than n*2-2?
Nice, but parenthesses are unneccesary here :>
During C programming it's becoming a habit, couse without semicolon in every place where it should be your program won't run
LOL, why here all solutions are very similary)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
My favorite solution, very declarative
Thank you for your answer! Do you have any tips for exploring the rust manual?
Magick
Some(f) if f == &find => return iter.next().cloned(),
I thought iter.next() returns Option<&T> instead of Option T. Does .cloned() turns <&T> into T>?
Oh sorry, I am new in this website :(
Please use spoiler flag next time.
Loading more items...