I am trying to reduce the time complexity of a function which finds the distinct difference between elements of array. i tried it in java
`public static Arra