This week's giveaway is in the Android forum. We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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.