TheAlgorithms-C-Plus-Plus/sorting
Deep Raval cac5fbe4aa
feat: add Bogo Sort (#952)
* Added Bogo Sort

* Changed code according to guidelines

* Added Comments and example

* Improved code quality

* Added range based loop and included cassert

* Changed Vectors to Array

* Added const to vector arg and now returning sorted array

* Changed vector to array and changed description format

* Added namespace sorting, Function description and tests

* Update sorting/Bogo_Sort.cpp

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Replaced Shuffle with std::random_shuffle

* Renamed filename to smallercase, Added shuffle for ref and updated bracket styling

* Added missing ')'

* updating DIRECTORY.md

* Added spaces in single line comments

* Added Spaces

* Update sorting/bogo_sort.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-07-17 18:27:40 -04: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 feat: add Bogo Sort (#952) 2020-07-17 18:27:40 -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
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
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