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.
What's wrong with you? (b, a)?? 😶
donio95, because soriting takes O(n*log(n)) time, finding the minimum takes O(n) time.
sekulski, why is it have greater computational complexity than list of lens?
However, it has much greater computational complexity.
I love how simplistic this is. Instead of writing a code to find the shortest, make the shortest the first then grab the length of the first.
not an issue.
The instructions indicate "The line above and below will be centered and will have 2 less *’s than the middle line." The sample test expects " *\n*** *\n" which aligns things to the right, not centered.