Neha Hasija
137c444398
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 23:37:39 +05:30
Neha Hasija
534dacae35
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 23:37:27 +05:30
Neha Hasija
6359899caa
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 23:37:16 +05:30
Neha Hasija
bbb182c42b
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 23:37:05 +05:30
Neha Hasija
7643a23359
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 23:36:54 +05:30
Neha Hasija
388ee00985
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 23:06:37 +05:30
Neha Hasija
a19da79545
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:41:16 +05:30
github-actions
1e6c2d5aa0
clang-format and clang-tidy fixes for 45dc7176
2020-10-21 05:10:05 +00:00
Neha Hasija
45dc717621
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:38:02 +05:30
Neha Hasija
7672e3998c
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:37:51 +05:30
Neha Hasija
676db2e57b
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:37:32 +05:30
Neha Hasija
fe538baac4
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:52:20 +05:30
github-actions
a6b57f8896
clang-format and clang-tidy fixes for db3f6944
2020-10-18 20:14:12 +00:00
Neha Hasija
db3f694490
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:47 +05:30
Neha Hasija
f03910abdc
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:38 +05:30
Neha Hasija
579a290acb
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:31 +05:30
Neha Hasija
e3f6382219
Create magic_number.cpp
...
This Pull Request is for HacktoberFest 2020
2020-10-17 19:31:30 +05:30
Divyajyoti Ukirde
04e0acc3cf
feat: added check_factorial ( #1155 )
...
* feat: added check_factorial
* updating DIRECTORY.md
* feat: added check_factorial
* review changes
* review changes
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-05 08:52:27 -04:00
Filip Hlasek
2882b7bec2
fix: math/fibonacci linter warnings. ( #1047 )
...
* fix: math/fibonacci linter warnings.
* updating DIRECTORY.md
* doxygen
* unit64_t instead of unsigned int
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-25 18:56:49 -05:00
fzxutar
cc64ca66b0
[Updated] test: add test for fibonacci() function
...
Fixed the errors as suggested by the author.
2020-08-15 12:51:06 +08:00
fzxutar
4c0b1a76b5
test: add test for fibonacci() function
2020-08-14 19:58:40 +08:00
Filip Hlasek
dcf5fa4241
fix, test: simplification and tests for number_of_positive_divisors ( #975 )
...
* fix, test: simplification and tests for number_of_positive_divisors
* Further refactor and documentation of number_of_positive_divisors
* Update the comments.
* Update the LaTeX documentation.
2020-07-24 22:59:49 -04:00
Filip Hlasek
42e1246ffc
fix, test: Refactor of sieve_of_eratosthenes ( #969 )
...
* fix, test: Refactor of sieve_of_eratosthenes
* Add missing include.
* Modernize the vector initialization.
* Add @details for the documentation.
2020-07-23 07:50:38 -04:00
Filip Hlasek
d58954523f
fix: Integer overflow of least_common_multiple. ( #970 )
...
* fix: Integer overflow of least_common_multiple.
* Update the typing (linter warning).
2020-07-22 08:01:06 -04:00
Rajiv Ranjan Singh
ebd13a7e24
Improved sieve_of_eratosthenes.cpp ( #933 )
...
* Update sieve_of_eratosthenes.cpp
* removed unwanted spaces
* removed init function
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-07-10 11:02:59 -04:00
github-actions
5baf1ad89f
formatting source-code for 247301c5b5
2020-07-02 12:48:35 +00:00
Tajmeet Singh
f586ca1b64
docs: fix
2020-07-01 14:56:51 +01:00
Tajmeet Singh
97023e1b1c
docs: fixed some documentation issues
2020-06-29 15:27:44 +01:00
github-actions
b1620ff2f5
formatting source-code for e1b1c71e7c
2020-06-25 18:41:27 +00:00
Krishna Vedala
e1b1c71e7c
Apply suggestions from code review
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-06-25 14:40:47 -04:00
Krishna Vedala
66eb05e0da
added wiki link in file brieff
2020-06-25 09:59:36 -04:00
Krishna Vedala
5939792a9d
fix self-tests and unsigned comparision to zero
...
refer #897 and https://lgtm.com/projects/g/TheAlgorithms/C-Plus-Plus/rev/pr-f6e7cda8faf908e87511f30e782190233bdee68c
2020-06-25 09:16:12 -04:00
github-actions
351a1b712a
formatting source-code for ca70c3097e
2020-06-25 09:51:24 +00:00
Ayaan Khan
ca70c3097e
Merge pull request #894 from iamnambiar/maths-feat
...
feat: create math/armstrong_number.cpp
2020-06-25 15:20:11 +05:30
Neeraj C
06f425493b
fix: changed to std::pow
...
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-25 10:59:44 +05:30
Neeraj C
06ca2a6953
fix: spaces between include and header file
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-06-25 08:00:37 +05:30
Neeraj C
9c75856235
docs: clean the comment
...
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-25 07:59:39 +05:30
github-actions
4c6b3b86c1
formatting source-code for c7ff9d66f1
2020-06-24 17:14:57 +00:00
Neeraj C
5b3e30a937
docs: typo fixed
2020-06-24 20:52:32 +05:30
Neeraj C
5e3307620c
feat: create math/armstrong_number.cpp
2020-06-24 20:46:23 +05:30
Panquesito7
f05aadf3b8
fix: Wrong function name
2020-06-23 18:26:47 -05:00
Panquesito7
01c5278911
fix: fibonacci_fast.cpp fixes
2020-06-23 18:22:21 -05:00
Panquesito7
da18b90498
fix: Use #define
2020-06-23 17:53:20 -05:00
Panquesito7
957a05bd0c
fix: Convert global variables to local
2020-06-23 17:39:29 -05:00
Panquesito7
48b7773b37
fix: Various LGTM fixes
2020-06-23 16:34:53 -05:00
Ayaan Khan
55fe002c10
Merge pull request #889 from Panquesito7/lgtm_fixes
...
fix: Various LGTM fixes
2020-06-24 02:18:10 +05:30
Panquesito7
0356a9cdf3
fix: Various LGTM fixes
2020-06-23 15:13:28 -05:00
github-actions
2d4a1dd19f
formatting source-code for 1d7a73ea58
2020-06-23 19:34:19 +00:00
Neeraj C
1d7a73ea58
feat: add check_amicable_pair.cpp ( #879 )
...
* feat: add check_amicable_pair.cpp
* fix: space between else and brace.
* fix: spaces between tokens
* fix: removed sqrt and test func combined to single
* docs: removed wiki link
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* docs: add markdown syntax for wikipedia link
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* docs: change brief to details in comment
Line 7
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* docs: typo fixed
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* docs: removed extra line
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* docs: removed copyright
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* docs: add author name
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* fix: shortened the code in is_amicable()
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: changed is_amicable to are_amicable
* docs: cleared unwanted line
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-06-24 01:03:42 +05:30
Krishna Vedala
aeb2bc4e2c
Merge pull request #884 from tjgurwara99/master
...
Feat: Class implementation of complex numbers along with most complex number operations.
2020-06-23 15:02:17 -04:00