Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/TheAlgorithms/C-Plus-Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://github.com/TheAlgorithms/C-Plus-Plus
2dadbf73f41f2ac2e2c4a96f8116638cec17a07f authored 12 months ago
08900b8c983b861ddd9c2e1efe7bf0bdd53beb4a authored about 1 year ago
6cd283950b5dfb2f85cd3abc9513c840400926b7 authored about 1 year ago
6376bf46aff52a1944d4efcd5ae884b39119cd34 authored over 1 year ago
23b133ae1eac4ad7e94e74da140d462180738413 authored over 1 year ago
Co-authored-by: github-actions[bot] <[email protected]>
f49369065c13e6cfee906de9dd0f5a6443f524e8 authored over 1 year ago6daf7015e31d079ae5896bb20719e46ccf8dd821 authored over 1 year ago
2c68b68ca6e55b0838f779e8e6bf7ec75ecfae15 authored over 1 year ago
Originally initiated in #2490.
Co-authored-by: Mark Matthew Vergara <[email protected]...
* docs: add documentation in `kruskals_minimum_spanning_tree.cpp`
* clang-format and clang-ti...
b480ddb191a94dac3252b48d9f2761347c888089 authored over 1 year ago* [feat/docs]: improve Fenwick Tree algorithm
* chore: apply suggestions from code review
...
882ba119dcc55f02776a8948127bd5d66b7682ff authored over 1 year agoCo-authored-by: David Leal <[email protected]>
a39892b80f74a700d3f4c9b3fff603132b2bcea5 authored over 1 year ago* feat: Treap Data Structure
* fix: suggested changes
Co-authored-by: realstealthninja <68...
170f7e59ff6732996d010bc7eec62e6d9e5279e9 authored over 1 year ago* Feat: Iterative factorial
* Test: Added tests for iterative factorial
* Fix: Added throw...
17a532637aeab194bec0973426576d7e15131995 authored over 1 year ago
Co-authored-by: rbevin777 <[email protected]>
Co-authored-by: David Leal <[email protected]>
* Update approximate_pi.cpp
* clang-format and clang-tidy fixes for 5a951bdf
---------
...
aaf84ab08fb9c24def02549461b5f83b4f348d35 authored over 1 year agoCo-authored-by: realstealthninja <[email protected]>
7003ba83ead9bdb89849fdaa0d4acc924002e845 authored over 1 year ago* doc: fit factorial.cpp to contribution guidelines
* Update math/factorial.cpp
Co-authore...
37aae7ced4668c5485850e00fd1bb4561d8814dc authored over 1 year agoCo-authored-by: realstealthninja <[email protected]>
813175a54417a4a06d6aa33427f9c0b8eb91887f authored over 1 year agobaaece25151da6701477eccf94ef3b66d4f5fbe9 authored over 1 year ago
f4d1aa17060d5a91b9040ff4196cc70d1c91d488 authored over 1 year ago
* updating DIRECTORY.md
* fix: cleanup longest_common_string.cpp
* clang-format and clang-...
32db99c1de76be3b63777d3ef10bdc3c8db3b93a authored over 1 year ago* Quality of life
FIX: initlized sum to 1 instead of adding it before return
CHORE: cleaned...
72cd2d0eb97d72e3a667895fcd83212e61260b01 authored over 1 year ago
* Next higher number with same set bits implimented
* Added to DIRECTORY.md
* Update bit_m...
d1ec37c67be44437a57002d7049d1ebd090e9eda authored over 1 year agoe203bfee4e5be699c1d8b28240d0227db696b0d0 authored over 1 year ago
* fix: fit armstrong_number.cpp to guidelines
* chore: delete unnecessary whitespace
* upd...
2fd530cba1a798fe2f9bdfe835c8179072de2394 authored over 1 year ago* Revert "feat: update CMake version to 3.26.4 (#2486)"
This reverts commit 2d492834b17fe578e...
5dc34677ed2f435c44521abce7b264f1808cc4cb authored over 1 year ago* update cmake version
* clang-format and clang-tidy fixes for 402c5627
---------
Co-au...
2d492834b17fe578e5e624bc7a94ae21ad1d2d49 authored over 1 year ago* add boyer moore algorithm implementation
* add a one-line description of what the library/h...
d7a9869dce772b980c28150013625396a1160388 authored over 1 year ago* check_prime_update
docs: added links to file @brief and @details. moved previous @brief to ...
5ef7ad5cfe6e710f128396b0cfee937998c59d91 authored over 1 year ago* Quality of life update
FIX: added namespace math, changed for a weird for loop to a while l...
5704841875e3369942f9403bd1964fcc3a8867dd authored over 1 year ago* feat: add sha256 algorithm
* Apply suggestions from code review
Co-authored-by: Piotr Id...
ff80be4b0ab4f81928cddfb7f32945bad95a7657 authored over 1 year ago1bfd46e92c9d7677bc6f710899a36103f7d78081 authored over 1 year ago
1a6ca124566db3c5c40c756f80eb8ea1ad7c6b65 authored over 1 year ago
...`scripts` repository
0953376d31fce30672768588e28642259169c348 authored over 1 year ago4aa529c728e2a38360114bdb3b87445950d6fefc authored over 1 year ago
* feat: add memory game and a games folder
* fix: `clang-tidy` warnings (hopefully)
* fix:...
b0b183df926101592230d4cfcc9d5c483005d7f3 authored over 1 year ago26f6e98d9e360bdfd8e0a9289047683c66bcf911 authored over 1 year ago
* feat: add Kelvin to Celsius conversion algorithm
* updating DIRECTORY.md
* chore: apply ...
c876e50a7b6cb5b29b6d0f88f55f56ca9c6e0e3c authored over 1 year agoea4100e394b7783a36a776fe3b26c11375b78f75 authored over 1 year ago
* fix: make N_bonacci return an array of size m
* tests: simplify test, add new test cases
...
33750ec1f89bfdf0d24b9aec7cb247d5c8a9414a authored over 1 year ago* feat: label PR on CI fail
* updating DIRECTORY.md
---------
Co-authored-by: github-ac...
0934ec4a8a0c58143776b9e8e0faf1ccc2ea88ed authored over 1 year ago4f4585d4c1e64251a5dd28a03ce330ae85ce8c2c authored over 1 year ago
* fix: initialise properly res, set properly size of ans
* test: add check with empty input
...
* feat: add well-formed parentheses generator
* updating DIRECTORY.md
* changes made
* ...
6027480643fb01e5e7bb080345eee027b6c2c300 authored over 1 year ago* fix: fit euler's totient to the contribution guidelines.
* Update math/eulers_totient_funct...
4b740d464c8e8898162181b615efe7884d1980be authored almost 2 years ago* Added quadratic_equations_complex_numbers.cpp
* Added a demonstration
* Added test cases...
a0227012ec1a38bbf224838abe8d200b04c54cee authored almost 2 years ago* Segment Tree
* fix: conformed to guidelines
* fix: changed int to template type T in few...
1a1570d77594455179c430e75535d76c1220a4bf authored almost 2 years agoc0c27153cdd632dd824b4a698f28ae29233483c6 authored almost 2 years ago
4ca4333efef5cc2ea74120291dbaa7eb02b9c010 authored almost 2 years ago
fe671029c34407d3d4408980b3dc378c0f4e0e63 authored almost 2 years ago
eb8bb3c4ee73b5f4309c20ee6dad361e928a29b5 authored almost 2 years ago
7999ff54aeebc7097e45dbfea16865bceb175bc6 authored almost 2 years ago
* docs: add self-test examples
* updating DIRECTORY.md
---------
Co-authored-by: github...
842c4ab5dd1eb9999a87a47e4c529d73c73e52f8 authored almost 2 years ago* feat: add Stooge sort algorithm
* docs: add documentation for function parameters and inclu...
29f54393f3be27d7153d4bf8bca91414ea015fb5 authored almost 2 years agof04e038056b72d73e86c07e7a7ac047da64a8ced authored almost 2 years ago
* added log code for counting digits
* one space removed
* fix: CI warnings (hopefully)
...
fddbf08f5a431a1de9b8766746f67cdcba81d3b7 authored almost 2 years ago* style: remove unused header
* fix: add destructor to list
* style: add missing construct...
65efd47bc1c3e8ff1819fb6487061045b2c2f9ff authored almost 2 years ago* feat: add Sieve of Eratosthenes
Originally created by @thechubbypanda.
* updating DIRECT...
1d2c5d9d975eac36824f30841bb4eda6dd1fef26 authored almost 2 years ago* Create maximum_circular_subarray.cpp
* Delete maximum_circular_subarray.cpp
* Create max...
0f20cdcf8f49c2b8f2c128a2ac7b22819a44a680 authored almost 2 years ago* fix: remove memory leak by adding deleteAllNodes
* clang-format and clang-tidy fixes for 9d...
cc33efd3b615a507082e29baae0b953ed544fcb7 authored almost 2 years ago* feat: add power_of_two.cpp
* chore: minor changes
* fix: Windows CI issues
* chore: r...
dc8ecfbf5019ed377ca1148e80c2e2b023422c3e authored almost 2 years ago* feat: add k-nearest neighbors, class Knn
* updating DIRECTORY.md
* clang-format and clan...
a8af29bf6520d511b81850babb71f5e9d225d005 authored almost 2 years agob89d1da2f1250c28bbfc6290fe5594de8ec2896e authored almost 2 years ago
* fix: remove memory leak in queue
* updating DIRECTORY.md
* clang-format and clang-tidy f...
7c090481da16a3b97dcd6e1c1dd8cb1ad2951736 authored about 2 years ago* Feat: Add Strassen's matrix multiplication
* updating DIRECTORY.md
* Fix cpp lint error
...
* Create subset_sum.cpp
* Update subset_sum.cpp
Lint formatting.
* chore: apply suggest...
a6a9d8e75a2e1c79063a996dbf85221e454060b0 authored about 2 years ago* Boruvkas Algorithm Implementation
Implemented Boruvkas Algorithm under graphs as a means fo...
f093837c78c4abaefa372ceaedea14cf06b933e0 authored about 2 years ago* Added aliquot_sum.cpp
* Fixed indentation and changed argument to ull int
* Fixed type o...
249ba8877ddda919f1c1f8bff4182ea28c1a13f4 authored about 2 years ago* adding travelling_salesman problem using bitmanipulation
* listing travelling_salesman prob...
0931d530aed8c612233b27ff89c8ffc1d5a968c8 authored about 2 years ago* fix: remove memory leak in stack
* style: use camelCase
* style: simplify logic
* sty...
e2bf654e821be2578cd1ff59634d6f0a0a3bdcd1 authored about 2 years agoTaken from TheAlgorithms/C#1163
582cdc7cc43c2e6bab2662127485c1965443c8bf authored about 2 years ago...CodeQL badges.
18f6cef2ad01c03cfffeefa0d4fa709e2145a79c authored about 2 years ago* fix: Awesome Workflow issues
Thanks to @tjgurwara99 for the original fix: TheAlgorithms/C#1...
04a1ab0b981ce0d8f1190959316c60da1dfc68ce authored about 2 years ago9ef438f7888529fb3d195b68f096bf71b29b318b authored about 2 years ago
85bc5188bd8d33c8ec8c1ff1e70818b6b9ea0067 authored about 2 years ago
* [feat/docs]: improve the `quick_sort.cpp`...
...algorithm implementation.
* clang-format...
1371b5390abc98ab127c5a9057cbeff6e2afbbfb authored about 2 years ago* add find_single_number
* add fix issues
* remove .vscode
* add .vscode
* Update .v...
e5ca4773e92c37dddd03ee1b98ab7668b6e684f7 authored about 2 years ago8cc44330506de6f4654305edd0c1f54a005f72f4 authored about 2 years ago
* updating DIRECTORY.md
* fix: use FreeGlut newest GitHub link
d0f7f230cad38b7d55a5190a8604b9d649b78910 authored about 2 years agowhen we propose 2 backslash then it doesn't take it as a comment and gets printed
Co-authored...
34720ae2d30a8f1397e61537919ad89ec0646610 authored about 2 years ago3b4d1421d3f6ecc589290b3a2763c9a105f3b1a9 authored about 2 years ago
969b4477730a837f996057e5fbd95639e9b4151c authored over 2 years ago
* feat: added physics folder, ground to ground projectile motion calculations
* feat: added m...
0fea073413e04d41f6bd59ca7fd59a4c0d144e65 authored over 2 years ago* docs: fix grammatical errors and typos
* compilation error fixed
* Revert "compilation e...
ee9835378f925056c67beae7d479c2b39ac217e8 authored over 2 years agof0b35b657a1f437c7b43ed85424419a147677230 authored over 2 years ago
59a0d3a06906140d95d53ba783d66ec11dd3afc1 authored over 2 years ago
* fix: karatsuba's algorithm is not compiling
doc: improved comments
* fix: continuous integ...
97c7d918789ce1c414e1a7737b766ceac0b4f6db authored over 2 years ago* fix: `quick_sort_3.cpp` warning
* clang-format and clang-tidy fixes for d95ac026
84ff18e0ac0e6241adeb1681d07393e4153c2236 authored over 2 years ago24f68ea4dbfda39f36a04864371ce706648383a4 authored over 2 years ago
c1f17927aad2c98126cdf2edbede8dd8751fd625 authored over 2 years ago
Co-authored-by: David Leal <[email protected]>
1772ee06ccff85a361dbf4f4efeaab7861fc10a8 authored over 2 years ago* feat: add new median search algorithm with linked list
* Removed filename
Co-authored-by...
1645cf281fbe5ae7e43900760a27c112f1730f25 authored over 2 years ago* Update linear_search.cpp
Improved code: array size (input) entered by user
* Update sear...
0febbf031480238d7612c2042580fb96c2b1a238 authored over 2 years agofc180b6061252177a2028df66d432a4d19fda01d authored over 2 years ago
* feat: add bloom_filter.c(bloom filter and bitset for it)
* updating DIRECTORY.md
* docs:...
eae5a7256168b9677c0503a6c7c24f2ca13b45b0 authored over 2 years ago* feat: add `bit_manipulation` to CMake
* updating DIRECTORY.md
0594923efa8e6b006a5d754c5e7976850290577c authored over 2 years ago* Added one Useful Link
Have Added Scaler Topics Binary Search Tree (BSTs) Page. Kindly Pleas...
60fc753f7f6af47162ae53a89122828abfe10e7e authored over 2 years agoc5a89b9f9477493d293cb962ed5ff1cdce6a8f02 authored over 2 years ago