Sorting

Selection Sort: Take out the curr elem and compare with all elements to the right to find smallest elem. 

Swap curr and smallest. arr[] = {9, 6, 7, 5, 2};






Comments

Popular posts from this blog

Link List