Challenge overview
Hello and welcome to the challenge!
Write a code that finds the max difference between two successive elements of the given array after sorting.
Examples
solve([1,2,5,11,3]) -> 6
Input
- an array with integer numbers
Output
- the max difference between elements properly found
Constraints
0 < length of the given array < 100
You can solve this programming contest in Ruby, JavaScript, Python and many other languages. If you want, you can also take part in other Challenges. Below you can find some of them:
Have fun and good luck! :)