Is it possible to sort the array of random elements using DNF sort?

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

hello @anshulgurawalia
NO it is not possible.

if we have only atmax three distinct element then we can do that otherwise not

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.