Commit Graph

771 Commits

Author SHA1 Message Date
Neeraj C
f7a8b7a85f
Update math/sum_of_digits.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-20 21:09:43 +05:30
Neeraj C
d9e3053fad fix: formatting code style. 2020-06-18 11:04:27 +05:30
Neeraj C
05aa382a16 docs: comment space fix 2020-06-16 08:05:06 +05:30
Neeraj C
12f0ec3c45 test: add two test functions 2020-06-16 08:03:14 +05:30
Neeraj C
2191ef4881 fix: whitespace issue in sum_of_digits 2020-06-15 23:26:58 +05:30
Neeraj C
d86a9b56df fix: sum of digits bug 2020-06-15 23:17:50 +05:30
Neeraj C
de4578c1a4 feat: add sum of digits 2020-06-15 22:11:20 +05:30
github-actions
70a2aeedc3 updating DIRECTORY.md 2020-06-13 15:45:53 +00:00
Omkar Langhe
026557115c
Adding algorithm to check if number is prime or not. (#834)
* Optimized algorithm to check if number is prime or not.

* logic to check if given number is prime or not.

* logic to check if given number is prime or not.

* logic to check if given number is prime or not.

* logic to check if given number is prime or not.

* Included appropriate comments as per standards.

* variable name renamed to num

* added @file and @brief in comment. Also added template and variable name changed from is_prime to result

* added @file and @brief in comment. Also added template and variable name changed from is_prime to result

* added template parameter T type in loop
2020-06-13 21:15:37 +05:30
github-actions
2829734532 updating DIRECTORY.md 2020-06-12 22:47:55 +00:00
Taj
1b5dee74c0
feat: Added a function for finding the least common multiple (#840)
* feat: Added a function for finding the least common multiple

* feat: Miller-Rabin Primality Test (probabilistic)

* Added test assertions

* Mistakenly worked on a different branch

* Doxygen comments

* Comments changed
2020-06-13 04:17:32 +05:30
github-actions
55c21c86e1 updating DIRECTORY.md 2020-06-02 15:13:18 +00:00
John Law
4c729bffa0
feat: Modern Trie with better memory management
feat: Modern Trie with better memory management
2020-06-02 17:12:57 +02:00
github-actions
46aba07f20 updating DIRECTORY.md 2020-05-30 14:58:01 +00:00
Sajied Shah Yousuf
0eedbb34a4
feat: added a new algorithm to find whether two line segment intersec… (#796)
* feat: added a new algorithm to find whether two line segment intersect or not

* fix: cpplint issues

* added documentation.....

* added documentation....

* added documentation...

* added doxygen format....

* fix: comment blocks...

* fix: cpplint issue

* fix: cpplint issues...

* fix: comment spaces...

* fix: additional spaces...

* fix: documentation issue
2020-05-30 20:27:45 +05:30
Anmol3299
0101f0ce28 Add copyright header and improve comments 2020-05-30 02:24:14 +05:30
Anmol3299
517f71a2dd minor fix to code style 2020-05-30 01:57:16 +05:30
Anmol3299
1f55da9444 feat: Modern trie code with better memory management 2020-05-30 01:49:13 +05:30
github-actions
5a54093484 updating DIRECTORY.md 2020-05-27 13:24:42 +00: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
github-actions
d86ff19d44 updating DIRECTORY.md 2020-05-27 12:14:45 +00:00
Ayaan Khan
011053eea8
Merge pull request #800 from ayaankhan98/master
Correction : Fixed array overflow
2020-05-27 17:44:26 +05:30
Ayaan Khan
ee3547fafc Correction : Fixed Array Overflow 2020-05-27 15:41:15 +05:30
Ayaan Khan
f22baf1921
Merge pull request #1 from TheAlgorithms/master
updating the fork
2020-05-27 15:39:54 +05:30
Sombit Bose
30eb4bcc7c
Merge pull request #798 from liushubin-gitHub/patch-1
While deletion, the memory location is deallocated, otherwise may cause unnecessary Overflow incase of large data
2020-05-27 10:11:48 +05:30
liushubin-gitHub
030348a284
Update doubly_linked_list.cpp
when remove an item , should free the item memory
2020-05-27 10:03:54 +08:00
github-actions
6b55d4472f updating DIRECTORY.md 2020-05-25 15:18:11 +00:00
Amit Kumar
1f07064a78
feat : find maximum flow in a graph (#791)
* feat : find maximum flow in a graph

* updated : find maximum flow in a graph

* updated name - conventions

* updated some suitable namings
2020-05-25 20:47:55 +05:30
github-actions
258200ec9f updating DIRECTORY.md 2020-05-24 12:09:31 +00:00
Ayaan Khan
432f0241de
Merge pull request #789 from offamitkumar/master
feat : bridge finding with tarjan algorithm
2020-05-24 17:39:12 +05:30
Christian Clauss
2f68e1a7a3
Update CONTRIBUTION.md 2020-05-24 08:52:09 +02:00
github-actions
b1bacb03b5 updating DIRECTORY.md 2020-05-24 06:47:38 +00:00
Christian Clauss
9530dddacc
Delete Jump_Search.cpp 2020-05-24 08:47:27 +02:00
Amit Kumar
54248a101f feat : bridge finding with tarjan algorithm 2020-05-24 11:52:29 +05:30
Christian Clauss
0472939503
CONTRIBUTING.md: Don’t open issues asking to be assigned (#788)
* CONTRIBUTING.md: Don’t open issues asking to be assigned

This habit makes us slow and chatty so let’s discourage it.

* Update CONTRIBUTION.md

There are many issues asking permission for a pull request, instead a direct pull request for evaluation is of much help.

* Update CONTRIBUTION.md

Co-authored-by: Sombit Bose <sombit.bose15@gmail.com>
2020-05-24 08:07:02 +02:00
Christian Clauss
d7763a549c
Delete factorial.o 2020-05-24 06:44:48 +02:00
github-actions
34337c7bc3 updating DIRECTORY.md 2020-05-24 04:44:27 +00:00
Christian Clauss
303311def5
Rename Search/jump_search.cpp to search/jump_search.cpp 2020-05-24 06:44:04 +02:00
github-actions
09d40e008a updating DIRECTORY.md 2020-05-24 04:42:45 +00:00
Christian Clauss
6a5c5de7be
Delete factorial.cpp 2020-05-24 06:42:31 +02:00
Christian Clauss
f487a98077
Delete factorial.exe 2020-05-24 06:41:50 +02:00
Christian Clauss
4a67b974d2
.vscode: Set C_Cpp.clang_format_style 2020-05-24 06:39:18 +02:00
github-actions
1c19d850e0 updating DIRECTORY.md 2020-05-23 16:13:05 +00:00
Christian Clauss
4f45890e50
Update .gitignore 2020-05-23 18:12:44 +02:00
Anup Kumar Panwar
9f8aef5f11
Merge pull request #569 from nirmay0503/master
I added algorithm for jump search !!
2020-05-23 00:49:32 +05:30
Anup Kumar Panwar
6c85b7587d
Merge pull request #601 from SaiEashwarKS/patch-2
Added Jump Search
2020-05-23 00:48:36 +05:30
Anup Kumar Panwar
846dbc005b
Merge pull request #727 from DarkWarrior703/patch-5
Create double_factorial
2020-05-23 00:46:45 +05:30
Anup Kumar Panwar
22a5e863fd
Merge pull request #734 from faizanahamed1414/patch-2
error in line 23 i.e a constant value
2020-05-23 00:01:16 +05:30
Anup Kumar Panwar
b59b70718d
Merge pull request #735 from RobotRage/bayes-theorem
feat: created bayes_theorem.cpp
2020-05-22 23:45:23 +05:30
Anup Kumar Panwar
2c5eab2b66
Merge pull request #736 from RobotRage/binomial-dist
feat: added binomial_dist.cpp
2020-05-22 23:44:57 +05:30