/sorting-algorithms

A collection of sorting algorithms

Primary LanguageCMIT LicenseMIT

Overview

A collection of sorting algorithms implemented in C language. Algorithms included are:

  • Bubble Sort (-bubble)
  • Recursive Bubble Sort (-bubblerec)
  • Insertion Sort (-insertion)
  • Recursive Insertion Sort (-insertionrec)
  • Binary Insertion Sort (-binary)
  • Selection Sort (-selection)
  • Merge Sort (-merge)
  • Quick Sort (-quick)
  • Heap Sort (-heap)

Compile

./makefile

Usage

./sorting -[algorithm] [array size]