Commit Graph

33 Commits

Author SHA1 Message Date
Krishna Vedala
7d2078a90c
Merge branch 'major-corrections-to-files' into document/others
* major-corrections-to-files: (28 commits)
  fixed decimal to roman
  fixed decimal to hex
  fixed CPPLINT + added method 2
  fix buzz number
  updating DIRECTORY.md
  Added documentation (#802)
  updating DIRECTORY.md
  Correction : Fixed Array Overflow
  Update doubly_linked_list.cpp
  added deleted files back - not really needed but there is a redundant github action that required it
  updating DIRECTORY.md
  cpplint issues fixed in sorting folder
  fix dynamic array issues in sorting folder
  fix dynamic array
  cpplint and msvc fixes for - sorting
  sorting fixes for MSVC and CPPLINT
  fix CPPLINT in sorting folder
  updating DIRECTORY.md
  MSVC does not know cstring-use string-for toString
  fixed dynamic array
  ...

# Conflicts:
#	math/fast_power.cpp
#	sorting/non_recursive_merge_sort.cpp
#	sorting/quick_sort.cpp
2020-05-27 18:41:01 -04:00
Krishna Vedala
3b07bc120a
Merge branch 'master' into major-corrections-to-files 2020-05-27 16:05:47 -04:00
Ayaan Khan
c2cde125dd
Added documentation (#802)
* Added documentation

* Added breif comments on functions

* modified comment block

* further improved comment blocks
2020-05-27 18:54:19 +05:30
Ayaan Khan
ee3547fafc Correction : Fixed Array Overflow 2020-05-27 15:41:15 +05:30
Krishna Vedala
07ebe713b0
added deleted files back - not really needed but there is a redundant github action that required it 2020-05-26 13:41:11 -04:00
Krishna Vedala
d3acc554c6
cpplint issues fixed in sorting folder
(cherry picked from commit 35c53760d3)
2020-05-26 13:32:50 -04:00
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
966aa2d333
remove mainpage doxygen tag 2020-05-26 13:28:12 -04:00
Krishna Vedala
35c53760d3
cpplint issues fixed in sorting folder 2020-05-26 13:07:14 -04:00
Krishna Vedala
01b69fcb24
fix dynamic array issues in sorting folder 2020-05-26 13:02:10 -04:00
Krishna Vedala
717f5c8f01
fix dynamic array 2020-05-26 12:31:49 -04:00
Krishna Vedala
0d8e015d15
cpplint and msvc fixes for - sorting 2020-05-26 12:15:12 -04:00
Krishna Vedala
76a5f572d5
sorting fixes for MSVC and CPPLINT 2020-05-26 11:46:24 -04:00
Krishna Vedala
47cc3f6825
fix sorting bin output foldername 2020-05-26 11:37:04 -04:00
Krishna Vedala
b35a7875da
add CMAKE to sorting folder 2020-05-26 11:34:07 -04:00
Krishna Vedala
7efa52e067
fix CPPLINT in sorting folder 2020-05-26 11:33: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