Lecture 8: Searching and Sorting Algorithms

Bubble sort happens to be the slowest of the sorting algorithms discussed here. It is hardly ever used in practice. 3.1.2 Selection Sort Assume again that we want to sort a list from smallest to largest. Selection sort is a sorting algorithm that starts by finding the smallest item on the list and then swaps it with the first element of the list.


Loved it? Download it, Share it!!
Share

Preview 2

Image

Preview 3

Image

Preview 4

Image

Preview 5

Image

Preview 6

Image

Thumbnails


Image
Image