Skip to content

Implementation and comparison of different sorting techniques in C (Insertion sort, Bubble sort, Quicksort, Merge sort, Heapsort

Notifications You must be signed in to change notification settings

aymenkhs/Sorting-algorithms-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Implementation and comparaison between different sorting techniques in C, as a Master 1, Artificial inteligence Algorithmic project.

Implmented Sorting Techniques

Approach

We first implemented the different algorithm then tested their execution time with tables of n integers with three different scenarios (the integers are ordered, ordered in reverse and random), the values of n used are:

n 6.4*10^4 1.28*10^5 2.56*10^5 5.12*10^5 1.024*10^6 2.048*10^6 5*10^2 10^3 2*10^3 4*10^3 8*10^3 1.6*10^4 3.2*10^4

We then proceeded to make plots of the executions time for each technique in python using seaborn and pandas in the file results/graphs.py

About

Implementation and comparison of different sorting techniques in C (Insertion sort, Bubble sort, Quicksort, Merge sort, Heapsort

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •