Function to find the minimum difference in the number D such that D is inside of every range
function findMinimumOperation ( n , d , arrays ) { var cnt = 0 ; var first = Number . MIN_VALUE , end = Number . MAX_VALUE ;