« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 659 ms

GitHub - TheAlgorithms/C: Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.

Source: https://github.com/TheAlgorithms/C

Repository navigation

C
Public

About

Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.

thealgorithms.github.io/C

Topics

algorithm-challenges algorithm-competitions algorithms c community-driven computer-science data-structures datastructures education educational hacktoberfest interview interview-questions learn-to-code machine-learning machine-learning-algorithms mathematics search sort

Resources

Readme GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing Activity Custom properties

Stars

22.7k stars

Watchers

524 watching

Forks

4.8k forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


1,536 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github .github    
.vscode .vscode    
audio audio    
cipher cipher    
client_server client_server    
conversions conversions    
data_structures data_structures    
developer_tools developer_tools    
dynamic_programming dynamic_programming    
exercism exercism    
games games    
geometry geometry    
graphics graphics    
greedy_approach greedy_approach    
hash hash    
leetcode leetcode    
machine_learning machine_learning    
math math    
misc misc    
numerical_methods numerical_methods    
process_scheduling_algorithms process_scheduling_algorithms    
project_euler project_euler    
scripts scripts    
searching searching    
sorting sorting    
.clang-format .clang-format    
.clang-tidy .clang-tidy    
.gitignore .gitignore    
.gitpod.dockerfile .gitpod.dockerfile    
.gitpod.yml .gitpod.yml    
CMakeLists.txt CMakeLists.txt    
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md    
CONTRIBUTING.md CONTRIBUTING.md    
CodingGuidelines.md CodingGuidelines.md    
DIRECTORY.md DIRECTORY.md    
Doxyfile Doxyfile    
LICENSE LICENSE    
README.md README.md    
REVIEWER_CODE.md REVIEWER_CODE.md    

Repository files navigation

The Algorithms - C # {#mainpage}

Overview

The repository is a collection of open-source implementations 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 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.

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 two major operating systems viz., MacOS and Ubuntu (Linux) using AppleClang 14.0.0 and GNU 11.3.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

Contributions

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

About

Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.

thealgorithms.github.io/C

Topics

algorithm-challenges algorithm-competitions algorithms c community-driven computer-science data-structures datastructures education educational hacktoberfest interview interview-questions learn-to-code machine-learning machine-learning-algorithms mathematics search sort

Resources

Readme GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing Activity Custom properties

Stars

22.7k stars

Watchers

524 watching

Forks

4.8k forks Report repository

Sponsor this project

Used by

Contributors

Languages