Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/TheAlgorithms/C
Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
https://github.com/TheAlgorithms/C
b85a6220a90297b60196d1b934300e354d766c94 authored about 2 years ago by David Leal <[email protected]>
* Delete codeql_analysis.yml
* fixing workflows
c97a33a6c2b05f34a4245a025457177803fbddcb authored about 2 years ago by Taj <[email protected]>* add leetcode Maximum Erasure Value
* Update 1695.c
add new line at the end
* Rename R...
2ee92040f33dc1ba24e04df955136852ca1fd395 authored about 2 years ago by Alexander Pantyukhin <[email protected]>b37bf7f6b996d54baf00c4a37a68e29cee7f1021 authored about 2 years ago by Alexander Pantyukhin <[email protected]>
...Move All Balls to Each Box LeetCode problem.
* add Minimum Number of Operations to Move Al...
794ec129aec8cf4e904041c88ef1d1d40d194958 authored about 2 years ago by Alexander Pantyukhin <[email protected]>* feat: added celcius_to_fahrenheit.c
* docs: added comment to 1st test
* updating DIRECTO...
0f5f241a1d0a586cc7eb634c05f9320d793d1ad2 authored about 2 years ago by Focus <[email protected]>* add Maximize the Confusion of an Exam leetcode
* Update leetcode/src/2024.c
Co-authored-...
bb11a352271401bb46281d109759202520ff9e31 authored about 2 years ago by Alexander Pantyukhin <[email protected]>* feat: added roman_numerals_to_decimal.c
* added newline at end of file
* updating DIRECT...
6b2697e244f71897fbac10efacd79d2b0d712c53 authored about 2 years ago by Focus <[email protected]>* add Validate Binary Search Tree
* improve condition
435b4994ce70e3e663916caa6478375a7fbec83c authored about 2 years ago by Alexander Pantyukhin <[email protected]>* add Minimum Deletions to Make String Balanced
* Update 1653.c
add new line at the end
...
defd82dda17d706db5409359aee23a5ec35acd42 authored about 2 years ago by Alexander Pantyukhin <[email protected]>* add Online Stock Span
* free obj
* Update leetcode/src/901.c
Co-authored-by: David Le...
8d28f1d36fdbf308d742525f80f9a6e24803668c authored about 2 years ago by Alexander Pantyukhin <[email protected]>* add Sum of Even Numbers After Queries leetcode task
* chore: apply suggestions from code re...
077517d6ae840b0c5df62153b8861bd0f14c2afc authored about 2 years ago by Alexander Pantyukhin <[email protected]>99f06e97e761b9048951e5cc7c5970e2fbf83c81 authored about 2 years ago by Alexander Pantyukhin <[email protected]>
* add trapping rain water.
* add short description of algorithm
* substitute min/max with ...
7aba094afb43e8f2961174914c854d40bb04c792 authored about 2 years ago by Alexander Pantyukhin <[email protected]>* updating DIRECTORY.md
* fix: update FreeGlut link
Co-authored-by: github-actions <${GITH...
2f8fc8ca9912065eb06c26c13f7a5aa2f2542dfb authored about 2 years ago by David Leal <[email protected]>9a3d934705a75a75e025f02bc646017b630e4dc5 authored about 2 years ago by Yaduttam Pareek <[email protected]>
a2b1983e57da3c4068cd60e4d4c76bf02b7f325c authored about 2 years ago by Alexander Pantyukhin <[email protected]>
0bcabd6897dd3e105b8359d62b22b8537c3594f8 authored about 2 years ago by Alexander Pantyukhin <[email protected]>
* add Number of Sub-arrays With Odd Sum
* Update 1524.c
add new line at the end
* Renam...
ea775e7a045e8ce18702b5eca4439d1b3d811da5 authored about 2 years ago by Alexander Pantyukhin <[email protected]>* add Check if Array Is Sorted and Rotated
* Update 1752.c
add new line
* Rename README...
dee9ac73cd857ae7b0412b801d58502c9010379b authored about 2 years ago by Alexander Pantyukhin <[email protected]>ace1c695090b127032ec5f5ba6a1ee71dcdc5dd7 authored about 2 years ago by David Leal <[email protected]>
* Added NonPreemptivePriorityScheduling
* updating DIRECTORY.md
* Added documentation and ...
136dee84e7705ffd6b15de322a7f8c68088e5d77 authored about 2 years ago by Aryan Raj <[email protected]>* add complinent of 10 integer
* Update 1009.c
add new line at the end
* Rename README...
856168384d4c802eb531683829606db25925b6dc authored about 2 years ago by Alexander Pantyukhin <[email protected]>* Add ROT13 cipher.
* updating DIRECTORY.md
* Fix suggestions.
* Suggestions.
Co-aut...
0e956c6e583ecf600603caacfee36f7763f6eeb1 authored about 2 years ago by Jeremias Moreira Gomes <[email protected]>21bd88215c192c4f31d108bf33fc4d1b224edadc authored about 2 years ago by David Leal <[email protected]>
e<=8 is not needed as remainder is always less than remainder so e<9(e>=8) is obvious in every case
741d3f95b3d4005c83d9f56fb48ac56db4b86b72 authored about 2 years ago by ms3939 <[email protected]>* Create 14.c
* Update README.md
* Update leetcode/src/14.c
Co-authored-by: David Leal ...
55b2045b19e5b07393c3e368df2703c923f010be authored about 2 years ago by devarshitrivedi01 <[email protected]>added display to view entire stack using for loop and formatted code.
00500d610890a6088a04d004f5586cd878914dde authored about 2 years ago by Anas Khan <[email protected]>
The call to realloc() already frees the previously allocated memory if necessary.
By the man pa...
* updated readme
* Create 10.c
* Update README.md
* added documentation
* chore: app...
68bdbfb0a58560041f2fd7313b87ccf5ebd28777 authored about 2 years ago by Yashvardhan Singh <[email protected]>* docs: add a guide for new LeetCode solutions
* updating DIRECTORY.md
* updating DIRECTOR...
9101ccd27c62a17a4cad0b72bbff7441d60b12f1 authored about 2 years ago by David Leal <[email protected]>0d5abe0a77a02a47df710300a4a47a586fd085a3 authored about 2 years ago by mr-shivamgarg <[email protected]>
* added a vector implementation in data structures
* changed a comment
* made the required...
154bcdb935c83a9eb168f0b21dfc8c9c1eaa390b authored about 2 years ago by Shreyas Sable <[email protected]>* Create 485.c
added "485. Max Consecutive Ones" solution
* Update README.md
Co-authore...
25f3b63d5bdd5b47810b61369bb657a1cd89fb8b authored about 2 years ago by Aniket Dubey <[email protected]>Co-authored-by: David Leal <[email protected]>
a0f658311decf7b6e6e9acbcae0677a202a25493 authored about 2 years ago by Sindhu Inti <[email protected]>Co-authored-by: David Leal <[email protected]>
9ab1bc981bf3cc34cbc7bcdd4a21fe0f95c13986 authored about 2 years ago by Sindhu Inti <[email protected]>
Co-authored-by: Utsav Khemka <[email protected]>
Co-authored-by: David Leal <halfpacho@...
* added 119
* added 119.c
Co-authored-by: David Leal <[email protected]>
0cd4f6b691cae0706771a1e9fb68768a2bd59132 authored about 2 years ago by Adhiraj <[email protected]>* updating DIRECTORY.md
* chore: use the scripts repository for...
...the `DIRECTORY.md` w...
8fa62620c2106b96973384ad225c2f3de50192a3 authored about 2 years ago by David Leal <[email protected]>Co-authored-by: Utsav Khemka <[email protected]>
1a6ed6bf1c503d5604f6e477f9ea80ebedee047e authored about 2 years ago by utsavkhemka21 <[email protected]>9502fd54ef4a2c540a035260ed70b5da57135cf6 authored about 2 years ago by zafar hussain <[email protected]>
f8e43ac88f90f1b011b3ec3c15d3af0c5a20325e authored about 2 years ago by serturx <[email protected]>
bd1b0ebcb9ee5fa4f75303f19e6aafda2cb7d6db authored about 2 years ago by serturx <[email protected]>
45f09db995676b3fd77c1b776f28464f8ef23004 authored about 2 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
35f6431f4790c4478e7ea2439f32938fee507b09 authored about 2 years ago by serturx <[email protected]>
Co-authored-by: David Leal <[email protected]>
8241a58d42afaad3f326b0c14e651aeb83864d60 authored about 2 years ago by serturx <[email protected]>Co-authored-by: David Leal <[email protected]>
597dc1972b6e8562dbb01e9caf1162de89f89964 authored about 2 years ago by serturx <[email protected]>7a997f2755f005a3f84b1cdf04ede6906d4e1ca0 authored about 2 years ago by serturx <[email protected]>
a8b42d0bb8f6a96af412d0bb3735ff6b15e92477 authored about 2 years ago by Sindhu Inti <[email protected]>
* added 118 to list
* added 118.c
82ca460a9cc6c450e2cbdbfbef07d2d609d4ab96 authored about 2 years ago by Adhiraj <[email protected]>* docs: improve the contributing guidelines
* updating DIRECTORY.md
Co-authored-by: github...
52d3b3ee4da8cedaa87f8e45083d995ad8a8aa81 authored about 2 years ago by David Leal <[email protected]>6121ab5c20204cbbf14ee2b5d129b239168b0a3b authored about 2 years ago by GrandSir <[email protected]>
7e6276b730679b7e8c89d2d748b1ebce7e4a21b5 authored about 2 years ago by flyinghu <[email protected]>
889931acc887f0b06e817dbe51743bee9c3167bb authored about 2 years ago by Shuangchi He <[email protected]>
b0a41bb38c67ddebb31d3fe06d11e171410c3379 authored over 2 years ago by David Leal <[email protected]>
dad3a52b56a2c3c1cfaf68a6e3cb0787d3610ee6 authored over 2 years ago by Rak Laptudirm <[email protected]>
The trie example had some issues;
* It did not follow the code convention in CONTRIBUTING.md
...
d017c3ef77548a74c221cd109f9662a0282d4b23 authored almost 3 years ago by Yannick Brenning <[email protected]>
* fixed index of parent
* fixed spacing to pass autochecks
* Empty commit to test the CI
...
* TCP Full Duplex Server Client Communication
* Changes made to successfully complete 5th Che...
d8804a60ab5afc4016753678d3407de84850161e authored almost 3 years ago by Nikhill Vombatkere <[email protected]>in this way valgrind checks will pass and result will stay the same (functions as a static varia...
0ceb3b340e93d4db11b2107e1264583884aec23f authored almost 3 years ago by Idan BananI <[email protected]>Co-authored-by: David Leal <[email protected]>
bd06a9f4242fbb798aa32e30832aa977223168c2 authored almost 3 years ago by Liu Yihua <[email protected]>ef9878627d49e770c2fa7bef7a4910689387fa94 authored almost 3 years ago by KuhakuPixel <[email protected]>
* perf: faster implementation of the TwoSum problem
* doc: fixed typos on comments
* updat...
37534f4d8c89127e8d98e4bac84b090ac1af4ed4 authored about 3 years ago by straight-into-the-wall <[email protected]>1370c44aee03fcfdf951938e824d8d9eb8ead3b8 authored about 3 years ago by David Leal <[email protected]>
Merge sort does not work properly. To reproduce the bug input 6, 5, 4, 3, 2, 1 the output would ...
934f55f17905596c3b11bcc71c94afa97d89a196 authored about 3 years ago by Navid Salehi <[email protected]>Co-authored-by: David Leal <[email protected]>
c8eec2fb57bdeb492153c731a6fa87074c2281a8 authored about 3 years ago by Navid Salehi <[email protected]>be9daa2b6099cf4600d94d489755bbf3c279299e authored about 3 years ago by David Leal <[email protected]>
2fba8889a09129d450b458e49808c530860ec75f authored about 3 years ago by David Leal <[email protected]>
* perf: faster implementation of the TwoSum problem
* doc: fixed typos on comments
* updat...
5cca0ebd4836210bd76e6757cff53be82a75ff23 authored about 3 years ago by straight-into-the-wall <[email protected]>7a324e2c75a2b6d8eda421e191a5460a6b5d7b03 authored about 3 years ago by David Leal <[email protected]>
Co-authored-by: David Leal <[email protected]>
624f9a3336ec8685d78d3acf881653196d29a563 authored about 3 years ago by 谭九鼎 <[email protected]>eec47fe3d47cf85940c619c45bd3bb97f3be4d21 authored about 3 years ago by David Leal <[email protected]>
This reverts commit b8e3c3833bf4e3dd8a5cd468612f89f42ce8ad07.
235f0a9eebb9b24b9aa78ef479f07f6482f7afea authored about 3 years ago by David Leal <[email protected]>* perf: faster implementation of the TwoSum problem
* doc: fixed typos on comments
* updat...
b8e3c3833bf4e3dd8a5cd468612f89f42ce8ad07 authored about 3 years ago by straight-into-the-wall <[email protected]>* perf: faster implementation of the TwoSum problem
* doc: fixed typos on comments
* updat...
779e2f073e30694c6448e8f988e54e3ae007caf4 authored about 3 years ago by straight-into-the-wall <[email protected]>* add infix to postfix converter algorithm
* docs: documentation changes
* docs: documenta...
88a82991f22ed2276a9fbb2e54c78b15cb5e0627 authored about 3 years ago by Kumar Yash <[email protected]>... which is the entire point of sentinel search
ce3f01f54cef3ebcbde78a9a1c090c2ce0397eaa authored about 3 years ago by Lars Müller <[email protected]>* add infix to postfix converter algorithm
* docs: documentation changes
* docs: documenta...
654105c8efd63d89930e95bd391f64d4072acfdf authored about 3 years ago by Kumar Yash <[email protected]>* Putting queue in correct dir and creating include file for it
* Update data_structures/queu...
9bbec45d13db93014c8dec9386b91a65296dab91 authored about 3 years ago by Lorenzo Battistela <[email protected]>* Create sentinel_linear_search.c
This is a search algorithm that uses sentinels.
* Update...
3cfdbb040db7e905b7074340196ddd23ee64fae6 authored about 3 years ago by Regan Yue <[email protected]>c56b967161fb2f99958e9d55efcb1fb869a5bbd9 authored about 3 years ago by Erik Pellizzon <[email protected]>
* added Conversion/decimal_to_anybase.c
* Added Converstions/decimal_to_any_base.c
* Enhen...
2fd92f280df5341249d2ba6e7cf5dcffc2f26fff authored about 3 years ago by AFK <[email protected]>* Add stale workflow
* Update .github/workflows/stale.yml
Co-authored-by: David Leal <half...
9d9bac2e9a1cd34aa3b77883d0cb2563cf5d2c8d authored about 3 years ago by Andrii Siriak <[email protected]>* feat: add G.711 a-law algorithm
* chore: add CMakeLists.txt for audio/
* updating DIRECT...
97d021424e89353677964a4aab71cbf46368ac4a authored about 3 years ago by Alliswell <[email protected]>* TCP Full Duplex Server Client Communication
* Changes made to successfully complete 5th Che...
690d49099dc716a0aa08be428ea3c25d377a0c0b authored about 3 years ago by Nikhill Vombatkere <[email protected]>* Odd Even Sorting Algorithm
* added Odd Even Sort algorithm
* Odd Even sort algorithm
...
16d115d9fb0a2c75825e541828002487228279aa authored over 3 years ago by Edwin B. Ajong <[email protected]>* TCP Client Server Half Duplex Comm
* reverting .vscode/settings.json in reference to reques...
0bcf7371ca98cd824d76e62134e8be8e3afdc94e authored over 3 years ago by Nikhill Vombatkere <[email protected]>
Add endlines in `machine_learning/adaline_learning.c`.
Co-authored-by: David Leal <halfpacho@gm...
* frequencies of words started
* A program to Print words contained in a file in alphabetical...
1b30b8908363601c0fe2750c98bf549350c28b2f authored over 3 years ago by Randy Kwalar <[email protected]>* floyd algorithm application
* Update searching/floyd_cycle_detection_algorithm.c
Co-auth...
580bd405ea37f67ec787a62757bef05ab0342dd7 authored over 3 years ago by Swastika Gupta <[email protected]>...forms. Also disables blank issues and adds an `Other` template for generic issues without bla...
b4f2f87a78f3e2c8bbfcbc1338206d2380eff5f5 authored over 3 years ago by David Leal <[email protected]>* Update README.md
* Update README.md
2b6661aaf5cd96bd9742d47f63589ef59ec00aed authored over 3 years ago by Hriday Sharma <[email protected]>* feat: add get_angle algorithm
* docs: added documentation for get_angle algorithm
* test...
31ced8233e2ae55cff5149e760f92a3fca1d09cf authored over 3 years ago by lasgel <[email protected]>Mostly all of the changes are taken from https://github.com/TheAlgorithms/C-Plus-Plus/pull/1503.
08157c4129a8df58cc98fb0e50ec909b64ed5a9a authored over 3 years ago by David Leal <[email protected]>When a pull request is approved, it'll automatically add the `approved` label.
373f9c4a66ab125a8f0ef37ab93c000a88dff23c authored over 3 years ago by David Leal <[email protected]>fb778074c738b20f51eb46e8732ddcfb970154b5 authored over 3 years ago by David Leal <[email protected]>
Thanks to @siriak for giving the solution at Discord!
Co-authored-by: Andrii Siriak <siryaka@gma...
221346808ab79534430a2b6faaae9d5dfdfbd93a authored over 3 years ago by David Leal <[email protected]>
* printf statement written in c (as minprintf) without using stdio.h library.
* Added proper ...
a7d613c95d91d12fc9693027114554d6cfc15342 authored over 3 years ago by Jaskarn Singh <[email protected]>