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.
.abs() is not necessary in last line since min2 may be greater than max1 but then max2 will defenitely also be greater than min1 and the max expression will return (max2-min1) which is positive (or vice versa).
Still i like this solution best, well done!