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.
you can see his solution... there you will see why
well it's an
O(n)
solution and there is an obviousO(1)
solutionthat's why it does not deserve its insane 250 upvotes
explain further since you aren't making any sense.
I'm only doing Rust Katas because I've never used it before. It's nice to say why you think iterators are no good here, otherwise you're sort of trolling.
Indeed, but it is rarely needed to be able to handle real infinity.