Vanshikapandey30 / Hacktoberfest2024

It's time to contribute to HacktoberFest 2024 :)
https://hacktoberfest.com
28 stars 63 forks source link

Added Sorting_algo_CPP #62

Open Sarthak1970 opened 8 hours ago

Sarthak1970 commented 8 hours ago

Added Sorting Algorithms in C++

Description: This pull request adds several sorting algorithms implemented in C++, including Merge Sort , Quick Sort , Selection Sort, Bubble Sort and Insertion Sort. Each algorithm is encapsulated in its own function, complete with a testable main function for user interaction.

Changes Made:

Implemented merge_sort,quick_sort,bubble_sort,selection_sort, and insertion_sort functions. Included a utility function for printing arrays. Provided example usage in the main function. Purpose: To enhance the repository with fundamental sorting algorithms for educational purposes and to support further development in sorting techniques.