Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Sorting an array
1
Name:
Anonymous
2010-10-24 4:13
There's an array of values from 1 to n. It isn't sorted. We have to sort it, but there are only to ways to move: third element to beginning or last element to beginning. How to do that ?
13
Name:
Anonymous
2010-10-24 9:35
>>12
That's the special case where the third element
is
the last element. So you'd be moving the same--
IHBT
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List