Go to file
2021-02-19 02:37:22 -03:00
.github remove windows builds (#796) 2021-02-06 01:20:20 +05:30
.vscode
client_server
conversions fix: Update conversions/binary_to_decimal.c (#730) 2020-10-29 15:06:30 -06:00
data_structures fixed: 761, 762. Fixed mis-spelled header file CArray.h to carray.h (#783) 2021-01-24 23:04:33 -06:00
exercism
games Delete : unnecessary if 2021-02-19 02:37:22 -03:00
geometry
graphics
greedy_approach
hash
leetcode
machine_learning
misc feat: created prime_seive.c (#708) 2020-11-26 06:34:21 -05:00
numerical_methods
project_euler feat: Project Euler Problem 5 - #162 (#599) 2020-09-03 08:52:21 -04:00
searching
sorting insertion_sort_recursive (#647) 2020-10-16 09:01:45 -04:00
.clang-format
.clang-tidy
.gitignore
.gitpod.dockerfile
.gitpod.yml
CMakeLists.txt
CODE_OF_CONDUCT.md [fix/feat]: Added Code of Conduct 2020-10-01 23:45:26 -05:00
CodingGuidelines.md
CONTRIBUTING.md [feat/fix]: Add contributing guidelines and update templates (#610) 2020-09-30 15:40:52 -04:00
DIRECTORY.md updating DIRECTORY.md 2021-02-15 06:47:11 +00:00
Doxyfile
LICENSE fix: Update the copyright year to 2021 (#780) 2021-01-07 22:36:22 -06:00
README.md [feat/fix]: Add contributing guidelines and update templates (#610) 2020-09-30 15:40:52 -04:00
REVIEWER_CODE.md feat: guidelines for reviewers (#671) 2020-10-18 22:02:04 -05:00

The Algorithms - C

Gitpod Ready-to-Code Language grade: C/C++ Gitter chat contributions welcome GitHub repo size Doxygen CI Awesome CI

Overview

The repository is a collection of open-source implementation of a variety of algorithms implemented in C and licensed under GPLv3 License. The algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc.. The implementations and the associated documentation 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 a different algorithm strategies and optimizations.

Features

  • The repository provides implementations of various algorithms in one of the most fundamental general purpose languages - C.
  • Well documented source code with detailed explanations provide a valuable resource for educators and students alike.
  • Each source code is atomic using standard C library libc and no external libraries are required for their compilation and execution. Thus the fundamentals of the algorithms can be studied in much depth.
  • Source codes are compiled and tested 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.
  • Strict adherence to C11 standard ensures portability of code to embedded systems as well like ESP32, ARM Cortex, etc. with little to no changes.
  • Self-checks within programs ensure correct implementations with confidence.
  • Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other applications.

Documentation

Online Documentation 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 Files menu to see the list of all the files documented with the code.

Documentation of Algorithms in C by The Algorithms Contributors is licensed under CC BY-SA 4.0
Creative Commons LicenseCredit must be given to the creatorAdaptations must be shared under the same terms

Contributions

As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our Contribution Guidelines.