mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
60ee52fd6a
* feat: add random pivot quick sort algorithm, test cases included * updating DIRECTORY.md * docs: add proper docs for random pivot quick sort algorithm, code reformatted. * fix: copy constructor bug fixed for TestCase class for random pivot quick sort algo * docs and code reformatted according to standards * c-style array declarations removed * added minor suggestion in docs * resource link added in docs * docs formatted * test function's docs added, using stl function for swap * generator function migrated to namespace * Update sorting/random_pivot_quick_sort.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update sorting/random_pivot_quick_sort.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update sorting/random_pivot_quick_sort.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * docs fixed sorting/random pivot quick sort * Apply suggestions from code review Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: David Leal <halfpacho@gmail.com>