Skip to content

Sorting algorithms play a crucial role in reordering a given array or list of elements based on a comparison operator. By utilizing this operator, sorting algorithms determine the new placement of each element within the data structure, resulting in an organized and optimized arrangemen

Notifications You must be signed in to change notification settings

besthor/sorting_algorithms

Repository files navigation

SORTING ALGORITHMS & BIG O

Description

Here's a breakdown of what you can learn from this project:

  • Discover at least four different sorting algorithms.
  • Understand the concept of Big O notation and how to assess the time complexity of an algorithm.
  • Learn how to select the most appropriate sorting algorithm for a given input.
  • Understand what a stable sorting algorithm entails.

  • Write a function that sorts an array of integers in ascending order using the Bubble sort algorithm Bubble sort example
  • Write a function that sorts a doubly linked list of integers in ascending order using the Insertion sort algorithm Insertion sort example
  • Write a function that sorts an array of integers in ascending order using the Selection sort algorithm Selection sort example
  • Write a function that sorts an array of integers in ascending order using the Quick sort algorithm Quick sort example
  • Write a function that sorts an array of integers in ascending order using the Shell sort algorithm, using the Knuth Sequence Shell sort example
  • Write a function that sorts a doubly linked list of integers in ascending order using the Cocktail shaker sort algorithm Coctail shaker sort example
  • Write a function that sorts an array of integers in ascending order using the Counting sort algorithm Counting sort example
  • Write a function that sorts an array of integers in ascending order using the Merge sort algorithm Merge sort example
  • Write a function that sorts an array of integers in ascending order using the Quick sort algorithm Heap sort example

Author

Besthor Igbe

  • Kindly consider following me on GitHub Besthor

About

Sorting algorithms play a crucial role in reordering a given array or list of elements based on a comparison operator. By utilizing this operator, sorting algorithms determine the new placement of each element within the data structure, resulting in an organized and optimized arrangemen

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages