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
Tajmeet Singh
75d8ee7cf0
fix: Readability issues
2020-06-23 19:43:56 +01:00
Tajmeet Singh
9048e19184
fix: cpplint issues
2020-06-23 19:32:05 +01:00
Tajmeet Singh
95320b38a4
fix: cpplint issues
2020-06-23 19:29:11 +01:00
Tajmeet Singh
bcd5df725d
feat: added polar form initialisation to our Complex class
2020-06-23 19:23:15 +01:00
Ayaan Khan
2aec4efdd3
fix: integer overflow due to multiplication fixed ( #886 )
...
* formatting source-code for 72c365dcd3
* Fixed Bug [munmap_chunck() core dumped]
* formatting source-code for b06bbf4dc6
* fixed line spacing
* fixed line spacing
* fixed documentation
* closed the paranthesis of line 3
* formatting source-code for 8233eda889
* Bug Fix heap sort [Fresh Implementation]
* formatting source-code for e464ddac36
* Bug Fix heap sort [Fresh Implementation]
* formatting source-code for 803981c831
* switched to normal functions from lambda
* formatting source-code for ced5dcd6c4
* Added template and test cases
* formatting source-code for 7c8617fa46
* fixed docs
* fixed line spacing in tests
* fix docs
* Multiplication result may overflow 'int' before it is converted to 'long'.
* fixed cpplint long -> int64
* fixed compiler error
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-06-23 23:50:45 +05:30
Tajmeet Singh
61084adbd3
fix: fixed forgotten namespace
2020-06-23 18:16:26 +01:00
Tajmeet Singh
ce81700380
fix: added missing header for std::time
2020-06-23 18:04:42 +01:00
Tajmeet Singh
907b829830
docs: copyright message
2020-06-23 18:00:53 +01:00
Tajmeet Singh
b9658104cb
fix: Taken onboard some suggested changes
2020-06-23 17:56:53 +01:00
Tajmeet Singh
52f918a4ff
fix: Fixed issue with Windows CI test - M_PI doesn't work on Windows CI
2020-06-23 16:33:54 +01:00
Tajmeet Singh
1708de2296
fix: fixed all pull request suggestions
2020-06-23 16:23:49 +01:00
Tajmeet Singh
c419e1f788
fix: arrow operator instead of dot
2020-06-23 14:54:10 +01:00