SORTING
59
SORTING
description
SORTING. main( ) {. Selection Sort. int a[ ] = { 17, 6, 13,12, 2 } ;. int i, j, t ;. j. i. 17 6 13 12 2. 0 - 1. for ( i = 0 ; i
Transcript of SORTING
Slide 1
SORTINGSelection Sortmain( ){int a[ ] = { 17, 6, 13,12, 2 } ;int i, j, t ;for ( i = 0 ; i