Thread: [Help]C++
View Single Post
Old 02-23-2011   #26
Adam
Registered Member
 
Adam's Avatar
 
Last Online: 06-03-2013
Join Date: Feb 2008
Posts: 1,410
Thanks: 1,444
Thanked 1,235 Times in 689 Posts
Groans: 25
Groaned at 21 Times in 19 Posts
Default

Yep, that's selection-sort you're describing. But if you notice in the first two lines, both 7 & 8 were moved in the same pass. Selection-sort wouldn't do that.
Adam is offline   Reply With Quote