Distinct Absolute Array Elements
medium
Given a sorted array of size N. Count the number of distinct absolute values present in the array.
Constraints
1 <= N <= 10^5 -10^8 <= Arr[i] <= 10^8 The array may contain duplicates
Format
Input
Input is managed for you
Output
Output is managed for you
Example
Sample Input
6
-3 -2 0 3 4 5
Sample Output
5