You must implement a function that returns the difference between the biggest and the smallest value in a list(lst) received as a parameter.
lst) contains integers, which means it may contain some negative numbers.
If the list is empty or contains a single element,
lst) is not sorted.
The solution in Java code
Test cases to validate our solution