2020-04-07 07:45:55 +03:00
|
|
|
[![Build Status](https://travis-ci.org/kvedala/C.svg?branch=master)](https://travis-ci.org/kvedala/C)
|
2019-08-08 03:00:30 +03:00
|
|
|
C
|
|
|
|
========
|
|
|
|
|
2020-01-09 11:36:32 +03:00
|
|
|
For a full list of all algorithms, please see: [DIRECTORY.md](https://github.com/TheAlgorithms/C/blob/master/DIRECTORY.md)
|
|
|
|
|
2019-08-08 03:00:30 +03:00
|
|
|
## LeetCode Algorithm
|
2019-08-08 03:05:37 +03:00
|
|
|
|
2019-08-13 21:43:43 +03:00
|
|
|
- [Solution](https://github.com/TheAlgorithms/C/tree/master/leetcode) for [LeetCode](https://leetcode.com/problemset/all/)
|
2017-10-14 19:55:41 +03:00
|
|
|
|
2017-10-20 19:45:35 +03:00
|
|
|
## Computer Oriented Statistical Methods
|
2017-10-20 19:43:54 +03:00
|
|
|
- Gauss_Elimination
|
|
|
|
- Lagrange_Theorem
|
|
|
|
- Mean
|
|
|
|
- Median
|
|
|
|
- Seidal
|
|
|
|
- Simpson's_1-3rd_rule.c
|
|
|
|
- Variance
|
2018-02-02 17:54:31 +03:00
|
|
|
- statistic (C Lib)
|
2017-10-20 19:33:41 +03:00
|
|
|
|
2017-10-20 19:45:35 +03:00
|
|
|
## Conversions
|
2017-10-20 19:43:54 +03:00
|
|
|
- binary_to_decimal
|
2019-10-21 20:27:51 +03:00
|
|
|
- decimal_to_binary
|
2017-10-20 19:43:54 +03:00
|
|
|
- decimal_to_hexa
|
|
|
|
- decimal_to_octal
|
2017-12-23 16:38:20 +03:00
|
|
|
- to_decimal
|
2019-10-12 11:43:04 +03:00
|
|
|
- hexa_to_octal
|
2019-10-04 12:07:50 +03:00
|
|
|
|
2017-10-20 19:33:41 +03:00
|
|
|
|
2017-10-20 19:45:35 +03:00
|
|
|
## Data Structures
|
2017-10-20 19:43:54 +03:00
|
|
|
- stack
|
|
|
|
- queue
|
2017-12-25 19:56:10 +03:00
|
|
|
- dictionary
|
2019-08-08 03:00:30 +03:00
|
|
|
- linked_list
|
2017-10-20 19:43:54 +03:00
|
|
|
- singly_link_list_deletion
|
2017-12-23 16:14:29 +03:00
|
|
|
- stack_using_linkedlists
|
2019-08-08 03:00:30 +03:00
|
|
|
- binary_trees
|
2017-10-20 19:43:54 +03:00
|
|
|
- create_node
|
|
|
|
- recursive_traversals
|
2019-08-08 03:00:30 +03:00
|
|
|
- trie
|
2017-10-20 19:43:54 +03:00
|
|
|
- trie
|
2017-10-20 19:33:41 +03:00
|
|
|
|
|
|
|
|
2017-10-20 19:45:35 +03:00
|
|
|
## Searching
|
2019-07-25 12:36:23 +03:00
|
|
|
- Linear_Search
|
2017-10-20 19:43:54 +03:00
|
|
|
- Binary_Search
|
|
|
|
- Other_Binary_Search
|
2017-12-10 17:29:48 +03:00
|
|
|
- Jump_Search
|
2019-07-25 12:36:23 +03:00
|
|
|
- Fibonacci_Search
|
|
|
|
- Interpolation_Search
|
|
|
|
- Modified_Binary_Search
|
2017-10-20 19:33:41 +03:00
|
|
|
|
|
|
|
|
2017-10-20 19:45:35 +03:00
|
|
|
## Sorting
|
2019-01-19 11:28:12 +03:00
|
|
|
- BinaryInsertionSort
|
2017-10-20 19:43:54 +03:00
|
|
|
- BubbleSort
|
2019-07-25 12:24:11 +03:00
|
|
|
- BucketSort
|
2017-10-20 19:43:54 +03:00
|
|
|
- BogoSort
|
2019-08-23 13:24:14 +03:00
|
|
|
- comb_sort
|
2019-07-25 12:24:11 +03:00
|
|
|
- CountingSort
|
2019-10-30 13:20:50 +03:00
|
|
|
- Cycle Sort
|
2019-08-23 13:24:14 +03:00
|
|
|
- gnome_sort
|
2019-07-25 12:24:11 +03:00
|
|
|
- PartitionSort
|
|
|
|
- ShellSort
|
|
|
|
- RadixSort
|
2017-10-20 19:43:54 +03:00
|
|
|
- InsertionSort
|
2019-01-19 11:28:12 +03:00
|
|
|
- MergeSort
|
2017-10-20 19:43:54 +03:00
|
|
|
- OtherBubbleSort
|
2019-11-01 14:55:38 +03:00
|
|
|
- PancakeSort
|
2017-10-20 19:43:54 +03:00
|
|
|
- QuickSort
|
|
|
|
- SelectionSort
|
2019-01-19 11:28:12 +03:00
|
|
|
- ShakerSort
|
2017-12-10 17:29:48 +03:00
|
|
|
- HeapSort
|
2018-10-02 07:10:23 +03:00
|
|
|
- StoogeSort
|
2019-10-30 11:54:19 +03:00
|
|
|
|
2019-08-08 03:00:30 +03:00
|
|
|
|
2018-01-01 00:59:35 +03:00
|
|
|
## Hashing
|
2018-01-01 01:00:29 +03:00
|
|
|
- sdbm
|
|
|
|
- djb2
|
|
|
|
- xor8 (8 bit)
|
|
|
|
- adler_32 (32 bit)
|
2017-10-20 19:33:41 +03:00
|
|
|
|
|
|
|
|
2017-10-20 19:45:35 +03:00
|
|
|
## Misc
|
2019-10-04 19:30:08 +03:00
|
|
|
- ArmstrongNumber
|
2017-10-20 19:43:54 +03:00
|
|
|
- Binning
|
|
|
|
- Factorial
|
|
|
|
- Fibonacci
|
2019-10-04 19:30:08 +03:00
|
|
|
- Greatest Common Divisor
|
2017-10-20 19:43:54 +03:00
|
|
|
- isArmstrong
|
|
|
|
- LongestSubSequence
|
|
|
|
- palindrome
|
2019-10-04 19:30:08 +03:00
|
|
|
- prime factorization
|
2017-10-20 19:43:54 +03:00
|
|
|
- QUARTILE
|
|
|
|
- rselect
|
|
|
|
- strongNumber
|
2019-11-02 20:16:16 +03:00
|
|
|
- TowerOfHanoi
|
|
|
|
- Greatest Common Divisor
|
|
|
|
- Sudoku Solver
|
|
|
|
- prime factorization
|
|
|
|
- PID Controller
|
2018-01-25 00:28:59 +03:00
|
|
|
|
2019-10-01 18:21:34 +03:00
|
|
|
## Project Euler
|
|
|
|
- Problem 1
|
|
|
|
- Problem 2
|
|
|
|
- Problem 3
|
|
|
|
- Problem 4
|
|
|
|
- Problem 5
|
|
|
|
- Problem 6
|
|
|
|
- Problem 7
|
2018-01-25 00:28:59 +03:00
|
|
|
|
|
|
|
|
|
|
|
## exercism
|
2018-01-26 21:38:48 +03:00
|
|
|
In this directory you will find (in the right order):
|
2018-01-25 00:29:39 +03:00
|
|
|
* hello-world
|
|
|
|
* isogram
|
|
|
|
* acronym
|
2018-01-26 21:38:48 +03:00
|
|
|
* word-count
|
|
|
|
* rna-transcription
|
|
|
|
|
2018-10-20 11:16:32 +03:00
|
|
|
## Simple Client Server Implementation
|
|
|
|
This directory contains
|
|
|
|
* client.c
|
|
|
|
* server.c
|
2019-02-18 09:30:24 +03:00
|
|
|
|
2019-05-09 20:47:34 +03:00
|
|
|
First execute server.c in a terminal and then client.c in a different terminal. Enables communication between two terminals.
|