Skip to content

BD20171998/sorting_algorithms

Repository files navigation

0x1B. C - Sorting algorithms & Big O

Learning Objectives

General

  • At least four different sorting algorithms
  • What is the Big O notation, and how to evaluate the time complexity of an algorithm
  • How to select the best sorting algorithm for a given input
  • What is a stable sorting algorithm

Requirements

  • All files are created and compiled on Ubuntu 14.04.4 LTS on gcc 4.8.4 using the flags -Wall -Werror -Wextra and -pedantic
  • All files are linted for syntax and style with Betty
  • Write a function that sorts an array of integers in ascending order using the Bubble sort algorithm
  • Write a function that sorts a doubly linked list of integers in ascending order using the Insertion sort algorithm
  • Write a function that sorts an array of integers in ascending order using the Selection sort algorithm
  • Write a function that sorts an array of integers in ascending order using the Quick sort algorithm
  • Write a function that sorts an array of integers in ascending order using the Shell sort algorithm, using the Knuth sequence
  • Write a function that sorts an array of integers in ascending order using the Counting sort algorithm
  • Write a function that sorts an array of integers in ascending order using the Merge sort algorithm
  • Write a function that sorts an array of integers in ascending order using the Heap sort algorithm
  • Write a function that sorts an array of integers in ascending order using the Radix sort algorithm

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages