All algorithms implemented in C

Overview

C Algorithms

All algorithms implemented in C (for learning)

Contribute algorithms written in C language. It's beginner friendly! Feel free to add new algorithms or open an issue and commit if you have a more efficient way of implementing an algorithm. You can

Getting Started

  • Fork this repository (Click the 'Fork' button, top right of this page)
  • Clone your forked copy of this repo down to your local machine:
git clone https://github.com/<insert-your-username>/C-Algorithms.git
  • Change directory to get inside repository:
cd C-Algorithms
  • Create a branch for a new algorithm contribution:
git checkout -b feature/<name-of-algorithm>
  • Or if its a bugfix to a file:
git checkout -b bugfix/<title-of-issue>
  • Make your changes locally
  • Stage and commit changes:
git add .
git commit -m 'commit message'
  • Push changes to GitHub:
git push origin <branch-name>
  • Create a New Pull Request (PR) from your forked repository on GitHub (Click the 'New Pull Request' Button located at the top of your repo)
  • Wait for your PR review and merge approval!
  • Star this repository if you had fun! :)

Syncing Forked repo with Original repo:

git remote add upstream https://github.com/PawanKolhe/C-Algorithms.git
git pull upstream master

New to Open Source?

Check out the following resources:

What to contribute?

  • You can check the Issues tab on the top and comment on the one you want to work on.
  • You can also suggest addition of new algorithms. Just create an 'Issue' here.
  • You can also contribute your solutions to problems from LeetCode: LeetCode
    • Place your code in '/LeetCodeSolutions' folder with number and name of the problem as the file name.
  • You can also contribute your solutions to problems from Project Euler: Project Euler
    • Place your code in '/ProjectEulerSolutions' folder with number and name of the problem as the file name.
You might also like...
 A CPU implemented in an analog modular synthesizer
A CPU implemented in an analog modular synthesizer

A CPU implemented in an analog modular synthesizer This runs in the VCV Rack eurorack simulator. I wrote a thread explaining the CPU on twitter and a

Compile-time C Compiler implemented as C++14 constant expressions

constexpr-8cc: Compile-time C Compiler constexpr-8cc is a compile-time C compiler implemented as C++14 constant expressions. This enables you to compi

ToPS is an objected-oriented framework implemented using C++ that facilitates the integration of probabilistic models for sequences over a user defined alphabet

ToPS is an objected-oriented framework implemented using C++ that facilitates the integration of probabilistic models for sequences over a user defined alphabet

An associative array implemented by C laugnage

C Map An associative array implemented by C laugnage. This is an implementation of an associative array written by C. it is similar as C++ map but i

EspHoMaTriX - A simple DIY status display with an 8x32 RGB LED panel implemented with esphome.io

EspHoMaTriX (ehmtx) A simple DIY status display with an 8x32 RGB LED panel implemented with esphome.io Introduction There are some status displays out

DigiMahal is the First Project of Our Team in Sharif University of Technology for Basics of Programming That in this Code we Implemented an Online Shop like DigiKala
DigiMahal is the First Project of Our Team in Sharif University of Technology for Basics of Programming That in this Code we Implemented an Online Shop like DigiKala

DigiMahal is the First Project of Our Team in Sharif University of Technology for Basics of Programming That in this Code we Implemented an Online Shop like DigiKala.

Operating system project - implementing scheduling algorithms and some system calls for XV6 OS

About XV6 xv6 is a modern reimplementation of Sixth Edition Unix in ANSI C for multiprocessor x86 and RISC-V systems.

A 10 weeks Data Structures And Algorithms Coding Challenge organized by Devs' Street.
A 10 weeks Data Structures And Algorithms Coding Challenge organized by Devs' Street.

10-Weeks-DSA-Challenge A 10 weeks Data Structures And Algorithms Challenge organized by Devs' Street. How can I Participate? Takeaways? Tons of Free l

A commented version of my libft, with details about how my algorithms work and simple main functions to compile them.
A commented version of my libft, with details about how my algorithms work and simple main functions to compile them.

LIBFT COMMENTED VERSION : 🔧 PART I : 📖 FT_STRCHR : 🔧 PART II : 📖 FT_SUBSTR : /* * DEFINITION : * CREATES A SUBSTRING FROM A STRING WITH PREDETER

Comments
  • Added_PE_Solution_4

    Added_PE_Solution_4

    I added solution for PE question 4- Largest Palindrome product. I also renamed some previous files (solutions for PE questions 1, 10,11,12,13,14 and 15) to maintain a general naming format. Please review and let me know if any change is needed. Thanks.

    opened by apanjwani0 1
  • Diagonal difference

    Diagonal difference

    Two math algorithms:

    • Compute the difference between the diagonals of a matrix.
    • Compute factorial using iteration

    I have also included a .gitignore to exclude executables.

    hacktoberfest-accepted 
    opened by EdwinWalela 0
  • Feature/link list

    Feature/link list

    add wonderful lib about link-list to the repo. it consists simple, doubly and circular link-list schema. in simple.c you can see an introduction. simple student struct for data element

    hacktoberfest-accepted 
    opened by MasuodSamarin 0
  • Solutions for Project Euler problems in C

    Solutions for Project Euler problems in C

    Contribute your solutions to Project Euler problems in C : Project Euler Problems

    Put your solutions in the '/ProjectEulerSolutions' folder. Give the serial number and name of the problem as the file name. (e.g. 19-counting-sundays.c)

    Happy Coding! :)

    Capture

    help wanted good first issue hacktoberfest 100DaysOfCode 
    opened by PawanKolhe 1
Owner
Pawan Kolhe
Frontend Engineer @ Certa 💻 | @MLH Fellow (Spring '21) | (he/him)
Pawan Kolhe
Watch TV channels on your device via internet from all over the world for free. IPTV API Implemented with QT C++

IPTV Desktop Description IPTV-Desktop is GUI application made with Qt C++ using IPTV API, which was developed by iptv-org. Watch free tv channels via

Not Your Surya 4 Oct 24, 2022
The home for algorithms ranging from searching to search all the way to dynamic programming, branch and bound, etc.

Algorithms The home for algorithms ranging from searching and sorting all the way to dynamic programming algorithms, divide and conquer, etc. What are

null 1 Dec 6, 2021
This is the Master Repository for all the different algorithms in the world of DSA, be it in any language C++, Java, Python etc.....

© Dragon ball GT INTRODUCTION The goal of this repository is to have in a single place all possible algorithms and data structures - in multiple langu

Shivanshu Garg 12 Oct 30, 2022
This repository shows my all (maybe all) solved problem (CodeForces & AtCoder) and their description with my Codes!!!

Submissions Auto-generated with ❤ using Harwest Introduction A repository to keep track of problem solving practice, containing solutions from platfor

Obaydullah Khan  3 Aug 4, 2022
Solving Kepler's equation via contour integration, implemented in C++

Kepler's Goat Herd Code for solving Kepler's equation using contour integration, following Philcox et al. (2021, arXiv). This uses a method originally

Oliver Philcox 45 Sep 11, 2022
brainfuck interpreter and repl with some optimizations implemented in.

bfc brainfuck interpreter and repl with some optimizations implemented in. building bfc uses premake5 to generate the required build files. main:bfc (

nwxnk 5 Dec 9, 2021
ADTW demonstration application - implemented with EAP

Amerced DTW demonstration application Amerced DTW (ADTW) is a variant of DTW, "amercing" ("penalizing") warping steps by a fixed penalty. This is a NN

null 1 Nov 26, 2021
A C++ implemented set of 8,16,32,64 bit cyclic redundancy check (CRC) functions conforming to the CRC spec given by AUTOSAR

A C++ implemented set of 8,16,32,64 bit cyclic redundancy check (CRC) functions conforming to the CRC spec given by AUTOSAR. Written in C++ and compiled as a 'C++ addon' for use in JavaScript. Available on NPM.

Richard Haar 3 Jul 13, 2022
Playbit System interface defines an OS-like computing platform which can be implemented on a wide range of hosts

PlaySys The Playbit System interface PlaySys defines an OS-like computing platform which can be implemented on a wide range of hosts like Linux, BSD,

Playbit 237 Dec 1, 2022