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.
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.