Flat Preloader Icon

Sorting Introduction

Overview

  1. Sorting
  2. various sorting techniques

Sorting

  • Arranging data elements in some logical order is known as sorting
  • Sorting we are going to cover is also known as internal sorting
  • when elements are numbers , sorting means arranging numbers in ascending order (by default)
  • when elements are strings , sorting means arranging strings in dictionary order (alphabetical) order.( by default

Various Sorting Techniques

  • Bubble sort
  • Modified Bubble Sort
  • Selection sort
  • Insertion sort
  • Quick sort
  • Merge sort
  • Heap sort