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
Krishna Vedala
8d68e61edf
[feature] new implementation of Quick sort ( #958 )
...
* added quick_sort_3
* Corrected some formatting error
* made more C-plus-plusy
* add test cases
* updating DIRECTORY.md
* clang-tidy fixes for 30c9a199ad0ad1ee524c85766dcefe70723afc3a
* better selef-tests + use std::vector
* use size_t
* change size_t to int32_t
Co-authored-by: mohit <rj7555555@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-20 21:12:31 -04:00
Deep Raval
ef1bf8849e
Fixed an issue related to doc (doxygen) ( #960 )
2020-07-19 14:42:01 -04:00
Krishna Vedala
67ec2aa982
[feature] Gnome sort ( #956 )
...
* implement gnome sort algorithm
* change name as in contribute.md
* remove std and fixed style on clang-format
* Delete GnomeSort.cpp
* style changes
* add documentation
* T template
* style changes
* style changes
* repeated error fix
* cout fixed
* fix gnome_sort
* add assertions'
* added random values test
* updating DIRECTORY.md
* clang-tidy fixes for 97161cf894dc547ad4b97bd1bc3af4e068a2c137
* fix initial index value
* add braces to one line for-loops
* fix function documentation
Co-authored-by: beqakd <bgoga16@freeuni.edu.ge>
Co-authored-by: beqakd <39763019+beqakd@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-18 17:16:45 -04:00
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
Krishna Vedala
390ee8428e
fix to upper case
2020-07-01 13:08:41 -04:00
Krishna Vedala
4045bcddf3
verb correction
2020-07-01 13:05:52 -04:00
Krishna Vedala
84fd1cb0d0
small case 'e'
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2020-07-01 13:04:54 -04:00
Krishna Vedala
fed7dd1c13
improved self-tests
2020-07-01 12:37:54 -04:00
Krishna Vedala
69b5c8395a
better rendering of example steps
2020-07-01 10:36:08 -04:00
Krishna Vedala
9b799c93cb
added documentation for new function
2020-07-01 10:19:18 -04:00
Krishna Vedala
957b57cf60
fix issues from #929
2020-07-01 10:10:51 -04:00
github-actions
e4c62d28fe
formatting source-code for 7af31e32a22952a70682a926866c1ff1bab72b99
2020-07-01 10:10:51 +00:00
Ayaan Khan
7af31e32a2
Fix for loop formatiing
2020-07-01 15:39:53 +05:30
Ayaan Khan
dd0a07f18a
loop formating fix
2020-07-01 15:38:55 +05:30
github-actions
3e1edca024
formatting source-code for efcccd0148923a03eea0fe95c3e27c38e2d9c46d
2020-06-30 22:35:45 +00:00
Ayaan Khan
efcccd0148
resolved merge conflict
2020-07-01 04:04:49 +05:30
Ayaan Khan
8179fbfdec
test cases added
2020-07-01 04:03:13 +05:30
github-actions
d64f17f94c
formatting source-code for 9217b4d8a880915d0a53b2408f38325f4b864e79
2020-06-30 22:26:08 +00:00
Ayaan Khan
9217b4d8a8
Merge branch 'master' of https://github.com/ayaankhan98/C-Plus-Plus
2020-07-01 03:54:33 +05:30
Ayaan Khan
d3324aaf34
Fix: code quality and Docs
2020-07-01 03:54:01 +05:30
Ayaan Khan
3fc85322c1
Merge pull request #899 from ayaankhan98/master
...
fix: minor docs issue
2020-06-25 04:13:29 +05:30
Ayaan Khan
f1ab19bb33
fix: minor docs issue
2020-06-25 03:39:12 +05:30
Krishna Vedala
d958eec03b
Merge pull request #888 from ayaankhan98/master
...
fix: LGTM code quality and Added docs
2020-06-23 17:02:57 -04:00
Panquesito7
0767af4a0d
fix: Revert comb_sort
changes
2020-06-23 15:26:55 -05:00
github-actions
48a163e51a
formatting source-code for 3a7a266ada62816c9602bfd9d5b632b80a169617
2020-06-23 20:22:30 +00:00
Ayaan Khan
92d2bf012a
Added tests for comb_sort.cpp
2020-06-24 01:49:33 +05:30
Panquesito7
0356a9cdf3
fix: Various LGTM fixes
2020-06-23 15:13:28 -05:00
Ayaan Khan
2d0325699f
fixed code quality and added docs
2020-06-24 01:30:14 +05:30
Ayaan Khan
7f40775055
fix docs
2020-06-24 00:36:56 +05:30
Ayaan Khan
f0ab9a0d38
fixed line spacing in tests
2020-06-24 00:36:56 +05:30
github-actions
a56e54ca15
formatting source-code for 7c8617fa46d41481c68ae2ae9d4f6a89ca42a4ff
2020-06-24 00:36:56 +05:30
Ayaan Khan
555f4fb98f
fixed docs
2020-06-24 00:36:56 +05:30
github-actions
6d88c992ed
formatting source-code for ced5dcd6c4db53ece27d22ecd1dd1c1fcce6afb0
2020-06-24 00:36:56 +05:30
Ayaan Khan
2a41d916b0
Added template and test cases
2020-06-24 00:36:56 +05:30
Ayaan Khan
86bd671c66
switched to normal functions from lambda
2020-06-24 00:36:56 +05:30
github-actions
11728ee231
formatting source-code for e464ddac3688834ce46c59bada5ad3fddbfa2254
2020-06-24 00:36:22 +05:30
Ayaan Khan
38db7fdec0
Bug Fix heap sort [Fresh Implementation]
2020-06-24 00:35:41 +05:30
github-actions
549daeebfd
formatting source-code for 8233eda8894f46785f288e72c639d201852f6096
2020-06-24 00:35:41 +05:30
Ayaan Khan
5c77f1ebe0
Bug Fix heap sort [Fresh Implementation]
2020-06-24 00:35:41 +05:30
Ayaan Khan
4afe371ba5
closed the paranthesis of line 3
2020-06-24 00:34:47 +05:30
Ayaan Khan
99ca279ff6
fixed documentation
2020-06-24 00:34:33 +05:30
Ayaan Khan
0a09c1e382
fixed line spacing
2020-06-24 00:34:33 +05:30
github-actions
b1d2ad1dfc
formatting source-code for b06bbf4dc6c46a3284d7852bb570438384eef4ef
2020-06-24 00:34:33 +05:30
Ayaan Khan
5e63bede6f
fixed line spacing
2020-06-24 00:34:33 +05:30
Ayaan Khan
46e07288ba
Fixed Bug [munmap_chunck() core dumped]
2020-06-24 00:34:33 +05:30
Ayaan Khan
de70c5d864
[Bug Fix] of sorting/heapsort.cpp ( #873 )
...
* formatting source-code for 72c365dcd34d9776fac3e2b58b41891b3619b02e
* Fixed Bug [munmap_chunck() core dumped]
* formatting source-code for b06bbf4dc6c46a3284d7852bb570438384eef4ef
* fixed line spacing
* fixed line spacing
* fixed documentation
* closed the paranthesis of line 3
* formatting source-code for 8233eda8894f46785f288e72c639d201852f6096
* Bug Fix heap sort [Fresh Implementation]
* formatting source-code for e464ddac3688834ce46c59bada5ad3fddbfa2254
* Bug Fix heap sort [Fresh Implementation]
* formatting source-code for 803981c831b36bf940d3fa2a901340cb0029717b
* switched to normal functions from lambda
* formatting source-code for ced5dcd6c4db53ece27d22ecd1dd1c1fcce6afb0
* Added template and test cases
* formatting source-code for 7c8617fa46d41481c68ae2ae9d4f6a89ca42a4ff
* fixed docs
* fixed line spacing in tests
* fix docs
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-06-21 21:28:00 +05:30
Ayaan Khan
edc17ec9e8
Fixed Bug in sorting/merge_sort.cpp ( #872 )
...
* formatting source-code for 72c365dcd34d9776fac3e2b58b41891b3619b02e
* Fixed Bug [munmap_chunck() core dumped]
* formatting source-code for b06bbf4dc6c46a3284d7852bb570438384eef4ef
* fixed line spacing
* fixed line spacing
* fixed documentation
* closed the paranthesis of line 3
* formatting source-code for 8233eda8894f46785f288e72c639d201852f6096
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-06-20 23:04:56 +05:30
github-actions
0224363803
formatting source-code for f541be97244b89a9279a46ca1c33c75865127c7e
2020-06-19 16:10:22 +00:00
Ayaan Khan
f541be9724
Merge branch 'master' into master
2020-06-19 21:39:02 +05:30