MuneebUrRehman643659
287 views
10 slides
Jun 03, 2022
Slide 1 of 10
1
2
3
4
5
6
7
8
9
10
About This Presentation
How to perform selection sorting on C++.
Size: 703.07 KB
Language: en
Added: Jun 03, 2022
Slides: 10 pages
Slide Content
Sorting of Array (Selection Sort)
INTRO… 2
Sorting Of Arrays 1 3
4 This is achieved through two loops. Outer loop select element to compare. Inner loop allow us to compare element with rest of them. It is used in computer science to static lookup tables. To holds multiples values that have same data types.
M ain topic slide There’re a lots of methods to sort an array but we'll, here, discusses Selection an Array. “It the method to find minimum element in an unsorted array and swap it with the element at the beginning.” Sort the remainder array excluding the first value. 5
For instance
IN TWO OR THREE COLUMNS 7
A PICTURE OF C++ CODE 8
PRINT OUT 9
USE CHARTS TO EXPLAIN YOUR IDEAS Gray White Black 10