Go to file
Yashvardhan Singh 68bdbfb0a5
feat: add LeetCode problem 10 (#1033)
* updated readme

* Create 10.c

* Update README.md

* added documentation

* chore: apply suggestions from code review

* Update DIRECTORY.md

Co-authored-by: David Leal <halfpacho@gmail.com>
2022-11-09 19:24:15 -06:00
.github chore: use the DIRECTORY.md workflow from the scripts repository (#1096) 2022-10-24 14:48:49 -05:00
.vscode fix newline character 2020-06-23 18:30:26 -04:00
audio feat: add G.711 a-law algorithm (#858) 2021-10-03 23:46:43 +05:30
client_server chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
conversions feat: add infix to postfix converter algorithm (#869) 2021-10-16 19:27:11 -05:00
data_structures feat: add a vector implementation in data structures (#977) 2022-11-08 15:18:39 -06:00
developer_tools chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
exercism chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
games docs: remove redundant space before comma (#920) 2021-12-01 11:43:09 -06:00
geometry tests: added get_angle test function in geometry/vector3d (#838) 2021-07-09 13:52:29 -05:00
graphics chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
greedy_approach chore: fix typo in filename (#947) 2022-06-07 13:09:33 -05:00
hash test: removed commented code (#885) 2021-10-15 11:01:56 -05:00
leetcode feat: add LeetCode problem 10 (#1033) 2022-11-09 19:24:15 -06:00
machine_learning chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
misc Apply suggestions from code review 2022-10-12 10:48:41 -04:00
numerical_methods fix: possible segmentation faults in numerical_methods/mean.c (#805) 2021-02-23 12:36:43 -06:00
project_euler fix: Revert "fix: LGTM warnings/alerts" commit 2021-04-25 19:44:15 -05:00
searching chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
sorting chore: fix various spelling typos (#945) 2022-09-27 10:58:15 -05:00
.clang-format [bug fix] fix code formatting during CI (#597) 2020-08-26 12:11:51 -04:00
.clang-tidy [enhancement] formatted and added Hash directory to cmake (#580) 2020-07-29 13:18:11 -04:00
.gitignore ignore files in .vscode unless specifically added 2020-06-28 07:10:42 -04:00
.gitpod.dockerfile [enhancement] New Graphics implementation with algorithm for spirograph (#557) 2020-07-10 15:48:07 -04:00
.gitpod.yml Update .gitpod.yml 2021-11-21 14:16:01 -06:00
CMakeLists.txt feat: add G.711 a-law algorithm (#858) 2021-10-03 23:46:43 +05:30
CODE_OF_CONDUCT.md fix: Update the CoC to match the .github repository (#913) 2021-10-31 21:26:18 -06:00
CodingGuidelines.md added code style conventions 2018-03-23 21:47:38 +01:00
CONTRIBUTING.md docs: add a guide for new LeetCode solutions (#1131) 2022-11-09 19:21:17 -06:00
DIRECTORY.md docs: add a guide for new LeetCode solutions (#1131) 2022-11-09 19:21:17 -06:00
Doxyfile added doxygen documentation 2020-05-24 22:28:28 -04:00
LICENSE chore: update copyright notices to 2022 2022-09-07 19:13:07 -05:00
README.md chore: update to match new Discord links (#1065) 2022-10-17 20:10:52 -05: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++ CodeQL CI Gitter chat contributions welcome GitHub repo size Doxygen CI Awesome CI Income Discord chat Donate

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 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.