Skip to content

jkome0x/Comparing-sorting-algrorithmes

Repository files navigation

sorting_algorithms_comparison

Comparing sorting algorithms in the C language. Enjoy it!

Introduction:

My project, titled "Comparison of Sorting Algorithms in C Language," aims to explore and compare different sorting algorithms. These algorithms include bubble sort, selection sort, insertion sort, merge sort, quick sort, and heap sort, all written in the C language.

I will evaluate these algorithms to understand how each performs based on the size of the data to be sorted. For this comparison, I have implemented the sorting functions in my code.

At the end of my analysis, I will use the Gaussian function and GNU Plot to graphically represent the performance of these sorting algorithms. These graphs will help me visualize and understand the performance differences between the algorithms based on the size of the data.

This project is designed to help me determine which sorting algorithm might be the most efficient in various scenarios, which is crucial for understanding how to choose the best sorting approach in real-world situations.

Objectives:

  1. Implementation of Sorting Algorithms:

    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
    • Heap Sort
  2. Performance Comparison:

  3. Analysis of Different Scenarios:

    • In random sorting scenarios.
    • In best-case scenarios, where the data is already sorted.
    • In worst-case scenarios, where the data is sorted in reverse order.
    • In mixed scenarios where the data presents a mix of orders.
  4. Use of the Gaussian Function

  5. Creation of Graphs with GNU Plot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published