TheAlgorithms-C-Plus-Plus/sorting
Lownish Rai Sookha 66dcc4c394
feat: add Pigeonhole algorithm (#1028)
* 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>
2020-08-25 18:57:24 -05:00
..
bead_sort.cpp fix: Various LGTM fixes 2020-06-23 15:13:28 -05:00
bitonic_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
bogo_sort.cpp Fixed an issue related to doc (doxygen) (#960) 2020-07-19 14:42:01 -04:00
bubble_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
bucket_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
CMakeLists.txt Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
cocktail_selection_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
comb_sort.cpp fix: Revert comb_sort changes 2020-06-23 15:26:55 -05:00
counting_sort_string.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
counting_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
gnome_sort.cpp [feature] Gnome sort (#956) 2020-07-18 17:16:45 -04:00
heap_sort.cpp fix: minor docs issue 2020-06-25 03:39:12 +05:30
insertion_sort.cpp fix to upper case 2020-07-01 13:08:41 -04:00
library_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
merge_sort.cpp formatting source-code for 8233eda889 2020-06-24 00:35:41 +05:30
non_recursive_merge_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
numeric_string_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
odd_even_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
pigeonhole_sort.cpp feat: add Pigeonhole algorithm (#1028) 2020-08-25 18:57:24 -05:00
quick_sort_3.cpp [feature] new implementation of Quick sort (#958) 2020-07-20 21:12:31 -04:00
quick_sort.cpp formatting source-code for f541be9724 2020-06-19 16:10:22 +00:00
radix_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
selection_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
shell_sort2.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
shell_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
slow_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
swap_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
tim_sort.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30