Commit Graph

86 Commits

Author SHA1 Message Date
github-actions
7ad1f171c1 formatting source-code for d7af6fdc8c 2020-05-29 23:26:30 +00:00
Krishna Vedala
2683b9d6ed
fix happy number code and documetnation 2020-05-28 16:43:03 -04:00
Krishna Vedala
b9b930213f
use pointers instead of non-const references and globals 2020-05-28 16:07:10 -04:00
Krishna Vedala
2412f95964
document vector sort, reverse example 2020-05-28 15:55:46 -04:00
Krishna Vedala
1e5f97c042
document towers of hanoi 2020-05-28 15:50:35 -04:00
Krishna Vedala
1e32478950
document stairs print 2020-05-28 15:27:58 -04:00
Krishna Vedala
51affd4aa4
document spiral print 2020-05-28 15:27:49 -04:00
Krishna Vedala
ea8aaf963d
move string fibonacci to math folder 2020-05-28 15:18:48 -04:00
Krishna Vedala
4e12f5361f
document string_fibonacci 2020-05-28 15:17:53 -04:00
Krishna Vedala
e7c6217097
filename must not contain spaces or dashes 2020-05-28 14:33:48 -04:00
Krishna Vedala
bc8fda9056
sparse matrix docs 2020-05-28 14:25:00 -04:00
Krishna Vedala
0994e6e028
minor documetnation 2020-05-28 14:23:52 -04:00
Krishna Vedala
c43e76286d
mark constructor function call as explicit 2020-05-28 14:10:24 -04:00
Krishna Vedala
5c7db7aba3
fixed syntax 2020-05-28 14:09:24 -04:00
Krishna Vedala
9da5e0cecf
re-enable the commented algorithm 2020-05-28 14:07:27 -04:00
Krishna Vedala
be997d3da3
updated documentation - NOTE TESTS FAIL
@yanglbme this algorithm does not give right answers
2020-05-28 13:39:58 -04:00
Krishna Vedala
00c8c0bfdb
document primality test 2020-05-28 12:55:06 -04:00
Krishna Vedala
34c3ce9c5e
document pascals triangle 2020-05-28 11:24:55 -04:00
Krishna Vedala
4206ac2a29
document paranthesis matching 2020-05-28 11:24:46 -04:00
Krishna Vedala
0c85156573
document number palindrome 2020-05-28 11:24:36 -04:00
Krishna Vedala
84d33ba5d9
document matrix exponentiation 2020-05-28 11:24:22 -04:00
Krishna Vedala
cc5ce16b58
document happy numbers 2020-05-28 11:24:14 -04:00
Krishna Vedala
e480c049be
mode math algorithms to math folder 2020-05-27 19:00:20 -04:00
Krishna Vedala
a53ba4b856
document fibonacci fast & link to fibonacci numbers 2020-05-27 18:58:21 -04:00
Krishna Vedala
21c963c2f5
move the gcd_of_n_numbers to math folder along with all other GCD algorithms 2020-05-27 18:52:07 -04:00
Krishna Vedala
28ffd29d4c
update documentation for gcd_of_n_numbers 2020-05-27 18:51:39 -04:00
Krishna Vedala
894cd9a71d
document fast_integer 2020-05-27 18:46:22 -04:00
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
a8bdbbda35
fixed decimal to roman 2020-05-27 18:22:57 -04:00
Krishna Vedala
7e875baab7
fixed decimal to hex 2020-05-27 18:22:49 -04:00
Krishna Vedala
e7632d107c
fixed CPPLINT + added method 2 2020-05-27 18:16:32 -04:00
Krishna Vedala
e963ba4c5b
fix buzz number 2020-05-27 18:00:02 -04:00
Krishna Vedala
6dfdfa6662
fibonacci documentation 2020-05-27 17:58:17 -04:00
Krishna Vedala
c27fa436b8
remove redundant file 2020-05-27 17:57:38 -04:00
Krishna Vedala
6d0aa17429
Merge branch 'large_factorial'
* large_factorial: (24 commits)
  removed author details from comments for header file
  added documetnation to large_factorial.cpp
  set 1 space for `private` and `public` keywords in cpp-classes
  use static variable to return reference for
  fixed code for lint and copy constructor
  Update .vscode/settings.json
  remove erroneous const from `+` operator
  code cleanup
  use cinttypes for size specific int type
  updated vscode settings
  more cpp lint fixes
  cpp lint fixes
  replace `std::chronos` with `ctime` - cpplint does not allow c++-11
  updating DIRECTORY.md
  remove incorrect comment
  user editable test "N"
  added test case
  ignore non numeric characters when creating large_number from a string
  large_number: created assignment operator
  compute arbitrarily large fibonacci number
  ...

# Conflicts:
#	DIRECTORY.md
2020-05-27 17:36:30 -04:00
Krishna Vedala
772e7fb789
removed author details from comments for header file 2020-05-27 17:32:46 -04:00
Krishna Vedala
9965614174
added documetnation to large_factorial.cpp 2020-05-27 17:32:10 -04:00
Krishna Vedala
77641f9b69 use static variable to return reference for 2020-05-26 18:15:00 -04:00
Krishna Vedala
c892cbadc6 fixed code for lint and copy constructor 2020-05-26 18:07:41 -04:00
Krishna Vedala
a15b5c5a9b
MSVC does not know cstring-use string-for toString
(cherry picked from commit fe9d2b9bc6)
2020-05-26 10:17:59 -04:00
Krishna Vedala
64c8bf38bd
fixed dynamic array
(cherry picked from commit dd20bf9442)
2020-05-26 10:17:41 -04:00
Krishna Vedala
8cb310a9fc
removed in-favor of chronos library of c++11
(cherry picked from commit 899be6a1f1)
2020-05-26 10:17:28 -04:00
Krishna Vedala
59be834836
fixed lint
(cherry picked from commit fb3a8091f9)
2020-05-26 10:17:07 -04:00
Krishna Vedala
5f8b270992
file rename
(cherry picked from commit d6d328c8c9)
2020-05-26 10:16:56 -04:00
Krishna Vedala
5fddd6c7cd
cin accepts only one variable at a time & fixed cpplint
(cherry picked from commit 2def9abcc2)
2020-05-26 10:16:45 -04:00
Krishna Vedala
fe9d2b9bc6
MSVC does not know cstring-use string-for toString 2020-05-26 10:06:01 -04:00
Krishna Vedala
2217049119
add cstring for std::to_string() 2020-05-26 09:40:57 -04:00
Krishna Vedala
dd20bf9442
fixed dynamic array 2020-05-26 09:37:36 -04:00
Krishna Vedala
899be6a1f1
removed in-favor of chronos library of c++11 2020-05-26 09:35:25 -04:00
Krishna Vedala
fb3a8091f9
fixed lint 2020-05-26 09:26:40 -04:00