This week's giveaway is in the Spring forum. We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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.