This week's book giveaway is in the Android forum. We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line! See this thread for details.

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.