Algorithms

Selection Sort: Brute Force approach to sorting with example in Groovy

Posted on May 5, 2009. Filed under: Algorithms | Tags: , , , , |

In Selection sort technique the list is scanned to find the smallest element and it is then exchanged with the first element, putting the smallest element in its final position i.e at the beginning. Then the list is scanned starting from the second element to find the smallest among the remaining n-1 elements and exchange [...]

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...