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.
Prolog translation
Duplicate: https://www.codewars.com/kata/max-diff-easy-1
However, the sample tests still cointain this one:
Furthermore, none of the examples show clearly if you want the see the biggest difference between neighbours (that's what all the sample tests suggest); or the biggest difference between any two elements in the array (that's what you expect). See:
A simple example would make it clear, like: