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.
Thank you.
I've acepted different criteria in my solution that's why it always fails in at leat one test case.
Will retake this kata later on.
ok. Thank you
But what about 5 than?
Also, if last and first elt-s should not be considered as peaks which is clear, shouldn't potential a peak value be greater than last and first el in order to actually be a peak?
This comment is hidden because it contains spoiler information about the solution