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.
This is probably the most performant solution here. In production, we always do overnight snapshots of highly computationally intensive data so that it can just be retrieved quickly instead of forcing the end-user to wait for the data to be computed on the fly. So while it may not be the most elegant solution out there, it's probably the most appropriate in a corporate setting where a certain set of data won't change much (or at all). Good job!
It would be awesome if they just made the median function part of the language.