sorting of large array (containing either 5 or 10 )in one iteration
Joined: Dec 19, 2004
I am given a problem regarding int aray sorting. Requirement: 1. array can be of any size 2. can contain only 5 or 10 as its values 3. has to be sorted in n = array.length iterations (i.e only one loop of n iteration).
can someone pls help me with the logic. I am trying the same from my end, will update if i get through.