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.
It seems that the issue here is that "last" is a reference, but the result of ".collect<Vec>()" is a temporary, so in the next invocation of the closure last would be referencing a Vec from a previous closure's stack-frame which would probably blow-up, and Rust is protecting you from the creating the corruption. Happy coding!
flatMap is supported by Node 11 onwards.
I think it may have more to do with this:
What do you mean by speed required? There are no performance tests, if anything's slow then maybe you're missing some logic.
Nice test, I will look into adding it. Thanks, I will also update the description with your comments.