Given a non-empty array A of N integers, returns the minimal difference that can be achieved.
Given a non-empty array A of N integers, returns the minimal difference that can be achieved.

For example, given:

 A[0] = 3
 A[1] = 1
 A[2] = 2
 A[3] = 4
 A[4] = 3
the function should return 1

sunilgaikwad/coderunner,sunilgaikwad/coderunner