Commit Graph

18 Commits

Author SHA1 Message Date
Krishna Vedala
231c99f880
fix dynamic array issues in sorting folder
(cherry picked from commit 01b69fcb24)
2020-05-26 13:32:41 -04:00
Krishna Vedala
09f0733065
fix dynamic array
(cherry picked from commit 717f5c8f01)
2020-05-26 13:32:33 -04:00
Krishna Vedala
77e781f709
cpplint and msvc fixes for - sorting
(cherry picked from commit 0d8e015d15)
2020-05-26 13:32:24 -04:00
Krishna Vedala
887bff8a9e
sorting fixes for MSVC and CPPLINT
(cherry picked from commit 76a5f572d5)
2020-05-26 13:32:15 -04:00
Krishna Vedala
e4084e77a8
fix CPPLINT in sorting folder
(cherry picked from commit 7efa52e067)
2020-05-26 13:31:57 -04:00
Krishna Vedala
120fe06fcb
files renamed to standard - without spaces and made CPPLINT compatible 2020-05-25 23:13:26 -04:00
mishraabhinn
eaf2ebd544
SwapSort.cpp (#754)
* Create Swap Sort(Minimum)

* Update Swap Sort(Minimum)

* Update Swap Sort(Minimum)

* Rename Swap Sort(Minimum) to SwapSort.cpp

* Update SwapSort.cpp

* Update SwapSort.cpp

* Update SwapSort.cpp

* Rename SwapSort.cpp to swap_sort.cpp

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-05-19 20:56:59 +02:00
Musab Albirair
49871c7f2f
Add file for non-recursive merge sort (#730)
* Add file for non-recursive merge sort

Add the source file (sorting/non_recursive_merge_sort.cpp) which defines the function template "non_recursive_merge_sort" in different forms, along with a helper function merge. Moreover, it creates 2 additional files, doxy.txt for Doxygen configuration, and a makefile to automate building, testing and cleaning.

* Add file for non-recursive merge sort

Add the source file (sorting/non_recursive_merge_sort.cpp) which defines the function template "non_recursive_merge_sort" in different forms, along with a helper function merge. Moreover, it creates 2 additional files, doxy.txt for Doxygen configuration, and a makefile to automate building, testing and cleaning.

* GitHub Action to cd sorting ; make doc ; make doc

* updating DIRECTORY.md

* Fix indentation error

* uses: mattnotmitt/doxygen-action@master

* doxyfile-path: 'sorting/'

* doxyfile-path: 'sorting/doxy.txt'

* working-directory: '.'

* Update sorting_non_recursive_merge_sort.yml

* Update sorting_non_recursive_merge_sort.yml

* Update sorting_non_recursive_merge_sort.yml

* Publish HTML to GitHub Pages

* Update sorting_non_recursive_merge_sort.yml

Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-04-25 17:16:42 +02:00
nikhil kala
b390775971
Update Bubble Sort.cpp 2020-04-24 13:48:19 +05:30
nikhil kala
4f5f1f4225
Update Bubble Sort.cpp 2020-04-24 13:47:38 +05:30
nikhil kala
5f791fe619
Merge branch 'master' into patch-1 2020-04-24 13:44:41 +05:30
nikhil kala
ae871b649b
Rename Sorting/Bubble Sort.cpp to sorting/Bubble Sort.cpp 2020-04-24 13:38:07 +05:30
stepfencurryxiao
f659bcc9fc Don't use bits/stdc++.h 2020-04-18 10:43:43 +08:00
Perukii
6655038105
feat : added library sort (#710)
* added library_sort.cpp

* added library_sort.cpp

* format

* format

* modified the code

* feat : added library sort
2020-03-07 08:20:08 +01:00
Eric Curtin
59d5dcca1d heapsort implementation started at index 1
It is wasteful of the first element of the array, so start at 0.
Also std:swap was re-implemented just use swap available in C++ library
instead.
2020-01-06 11:33:08 +00:00
Eric Curtin
98143d9e36 variable x is unused (#698)
* variable x is unused

* Use std::endl and a blank line between functions

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-01-04 09:33:56 +01:00
Eric Curtin
e50d0ffffe Use getchar over getch (#681)
* Use getchar over getch

getch in Windows specific. Now the code will compile
and work on other platforms like Linux and macOS.

* Update and rename Heap Sort .cpp to heap_sort .cpp

* cpplint fixes

* Rename heap_sort .cpp to heap_sort.cpp
2019-12-16 13:21:16 +01:00
Christian Clauss
f8da1b0685
rename Sorting -> sorting (#653) 2019-11-28 13:32:03 +01:00