DNF Sort application

can the DNF sort be apply more than three different numbers because in three number we have made a two pointer means the 1 is automatically get stored if we place the 0 and 2 to the correct position . So can we made this to work with four different digitts.?

hello @Vikaspal,
we cannot use it for four or more digits numbers.

it works for 3 number because using two pointers we can segregrate 0 and 2 and whaterever we are left with comes in the middle.

@aman212yadav thanks

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.