Skip to content

Opening book details…

About this document

Sorting Algorithms Overview by Manju Nath is a document available to read on EtoBox.

The document discusses two algorithms for sorting an array of numbers: selection sort and bubble sort. Selection sort works by iterating through the array, finding the smallest remaining element on each pass, and swapping it into the front. Bubble sort iterates through neighboring pairs, swapping any that are out of order, so that lighter elements gradually "bubble" to the front. Pseudocode and examples are provided to demonstrate how each algorithm processes an array from an unsorted to a sorted state in m

Author
Manju Nath
Language
EN