if we have array having elements like:-
12, 13, 45 ,56 ,2 , 3, 5 , 90, 13 , 12 ; -
can we solve this by usiing DNF by calculating the lower pointer which is pointing to the lowest element in the array and high pointer to the higher element in the array