feat: add hybrid quick-insertion-selection sorting algorithm with tests#2956
feat: add hybrid quick-insertion-selection sorting algorithm with tests#2956cesar-011 wants to merge 6 commits intoTheAlgorithms:masterfrom
Conversation
realstealthninja
left a comment
There was a problem hiding this comment.
Try not to use the raw array and instead opt for either std::vector incase you want an array of dynamic length or std::array if the size is known at compile time
| /** | ||
| * @brief print the array | ||
| */ |
There was a problem hiding this comment.
| /** | |
| * @brief print the array | |
| */ | |
| /** | |
| * @brief print the array | |
| * @tparam T | |
| * @param arr | |
| * @param size | |
| */ |
|
I will make the changes soon. Thank you for the corrections. |
|
@realstealthninja I have just made the requested changes. |
|
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Not abandoned |
|
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Not abandoned |
|
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
not abandoned |
|
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Not abandoned @realstealthninja |
|
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Not abandoned @realstealthninja |
|
This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Please ping one of the maintainers once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions! |
Description of Change
Added a hybrid sorting algorithm combining QuickSort, Insertion Sort, and Selection Sort.
Included tests and example usage.
This implementation is for educational purposes and follows the project's style guidelines.
Checklist
Notes: "Hybrid of QuickSort, Insertion Sort, and Selection Sort for educational purposes, not optimized for speed."