mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
66dcc4c394
* feat: add Pigeonhole algorithm * Executed clang-format * Used pointers and vector * Corrected clang-tidy issues * Modified code structure * Apply suggestions from code review Suggested changes applied Co-authored-by: David Leal <halfpacho@gmail.com> * Added missing parameter and documentation * Added delete function * Update pigeonhole_sort.cpp * Corrected delete function Co-authored-by: David Leal <halfpacho@gmail.com> * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com> * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com> * Changed documentation regarding array size * clang-tidy * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com> * assert moved to test function * Update pigeonhole_sort.cpp * Update sorting/pigeonhole_sort.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Added test function and inbuilt min function * min and max to const variables * const int* to auto * const int* to auto * Apply suggestions from code review Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com> * Modified pigeonSort documentation * Corrected test functions Co-authored-by: lsurface <lownish@hotmail.com> Co-authored-by: David Leal <halfpacho@gmail.com> Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>