<p>The repository is a collection of open-source implementations of a variety of algorithms implemented in C and licensed under <ahref="https://github.com/TheAlgorithms/C/blob/master/LICENSE"target="_blank">GPLv3 License</a>. The algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc.. The implementations and their associated documentations are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using different algorithm strategies and optimizations.</p>
<li>The repository provides implementations of various algorithms in one of the most fundamental general purpose languages - <ahref="https://en.wikipedia.org/wiki/C_(programming_language)"target="_blank">C</a>.</li>
<li>Each source code is atomic using standard C library <ahref="https://en.wikipedia.org/wiki/C_standard_library"target="_blank"><code>libc</code></a> and <em>no external libraries</em> are required for their compilation and execution. Thus the fundamentals of the algorithms can be studied in much depth.</li>
<li>Source codes are <ahref="https://github.com/TheAlgorithms/C/actions?query=workflow%3A%22Awesome+CI+Workflow%22"target="_blank">compiled and tested</a> for every commit on the latest versions of three major operating systems viz., Windows, MacOS and Ubuntu (Linux) using MSVC 16 2019, AppleClang 11.0 and GNU 7.5.0 respectively.</li>
<li>Strict adherence to <ahref="https://en.wikipedia.org/wiki/C11_(C_standard_revision)"target="_blank">C11</a> standard ensures portability of code to embedded systems as well like ESP32, ARM Cortex, etc. with little to no changes.</li>
<p><ahref="https://TheAlgorithms.github.io/C"target="_blank">Online Documentation</a> is generated from the repository source codes directly. The documentation contains all resources including source code snippets, details on execution of the programs, diagrammatic representation of program flow, and links to external resources where necessary. Click on <ahref="https://TheAlgorithms.github.io/C/files.html"target="_blank">Files menu</a> to see the list of all the files documented with the code.</p>
<p><ahref="https://thealgorithms.github.io/C"target="_blank">Documentation of Algorithms in C</a> by <ahref="https://github.com/TheAlgorithms/C/graphs/contributors"target="_blank">The Algorithms Contributors</a> is licensed under <ahref="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1"target="_blank">CC BY-SA 4.0</a><br/>
<ahref="https://creativecommons.org/licenses/by-sa/4.0"><imgsrc="https://mirrors.creativecommons.org/presskit/icons/cc.svg"alt="Creative Commons License"style="pointer-events: none; height:22px!important;margin-left: 3px;vertical-align:text-bottom;"class="inline"/><imgsrc="https://mirrors.creativecommons.org/presskit/icons/by.svg"alt="Credit must be given to the creator"style="pointer-events: none; height:22px!important;margin-left: 3px;vertical-align:text-bottom;"class="inline"/><imgsrc="https://mirrors.creativecommons.org/presskit/icons/sa.svg"alt="Adaptations must be shared under the same terms"style="pointer-events: none; height:22px!important;margin-left: 3px;vertical-align:text-bottom;"class="inline"/></a></p>
<p>As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our <ahref="https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md"target="_blank">Contribution Guidelines</a>. </p>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.2 </li>