text: Function to calculate maximum difference between adjacent elements excluding every array element once
code: def maxAdjacent ( arr , N ) : NEW_LINE INDENT res = [ ] NEW_LINE arr_max = - sys . maxsize - 1 NEW_LINE DEDENT