Skip to content

This repository contains a collection of sorting algorithms implemented in the C programming language, accompanied by explanations of their time complexity (Big O notation).

Notifications You must be signed in to change notification settings

4MR4N11/sorting_algorithms

Repository files navigation

0x1B. C - Sorting algorithms & Big O

This project is about sorting algorithms and Big O notations.

Sorting algorithms

  • Bubble sort: The simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order.

  • Insertion sort: Insertion sort is a simple sorting algorithm that works the way we sort playing cards in our hands.

  • Selection sort: The selection sort algorithm sorts an array by repeatedly finding the minimum element (considering ascending order) from unsorted part and putting it at the beginning.

Files

About

This repository contains a collection of sorting algorithms implemented in the C programming language, accompanied by explanations of their time complexity (Big O notation).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages