Every season at the ribbon falls of Cascade Vale, someone must plan the festival budget. This year the task falls to Ishaan, armed only with the weights register. Task: Print the minimum absolute difference between any two array elements. Input format: First line: n (>=2). Second line: n integers. Output format: Print the minimum pairwise absolute difference. Constraints: 2 <= n <= 12684; 0 <= a[i] <= 1000.
Example 1:
Example 2:
Example 3:
Constraints:
2 <= n <= 12684; 0 <= a[i] <= 1000.
