C++ 算法大全
Go to file
Christian Bender f2ca4b9a29
Merge pull request #80 from hegdenaveen1/patch-8
Fixed Linear Search
2017-12-27 13:53:12 +01:00
Backtracking Graph Coloring 2017-04-23 16:32:34 +05:30
Computer Oriented Statistical Methods added gaussian elimination method 2016-11-07 18:01:42 +06:00
Datastructures Add files via upload 2017-12-23 18:30:49 +01:00
Dynamic Programming Added Egg Dropping Puzzle in Dynamic_Programming 2017-10-29 23:28:02 +05:30
Graph Kruskal's Algorithm 2017-07-29 10:55:00 +05:30
Greedy Algorithms Longest Common Subsequence 2017-04-10 14:31:19 +05:30
Math/Prime_Factorization Update README.md 2017-12-23 22:53:02 +01:00
Operations on Datastructures Add files via upload 2017-12-23 18:30:49 +01:00
Others Decimal to Roman Numeral.cpp 2017-12-26 16:44:46 +05:30
Range queries segment tree with lazy propagation 2017-08-29 15:04:30 +05:30
Search Add files via upload 2017-12-23 18:30:49 +01:00
Sorting Tim Sort.cpp 2017-10-28 16:26:02 +05:30
.DS_Store Added buzz number program. 2017-06-04 14:12:56 +05:30
Array Left Rotation.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
Array Right Rotation.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
Binary Search Tree.cpp Reverse a Linked List using Recusrion 2016-12-10 19:35:28 +05:30
Binary Search.cpp Add Binary Search 2016-11-20 12:05:58 +05:30
Buzz_number.cpp Added buzz number program. 2017-06-04 14:12:56 +05:30
Circular Linked List.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
Circular Queue Using Array.cpp Enque and Deque 2016-08-09 16:40:41 +05:30
Decimal To Binary.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
Decimal To Hexadecimal .cpp Create Decimal To Hex .cpp 2016-10-14 01:12:54 -07:00
Decimal to Roman Numeral.cpp Added Decimal to Roman Numeral Converter 2017-12-25 14:28:00 +05:30
Doubly Linked List.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
fibonacci.cpp Updated logic of fibonacci 2017-12-26 16:41:23 +05:30
GCD_of_n_numbers.cpp Added comments. 2017-06-02 11:43:26 +05:30
Happy_number.cpp Fix happy number algorithm. 2017-09-29 15:26:47 +02:00
Intersection_of_2_arrays.cpp Added union and intersection of 2 arrays. 2017-06-06 12:50:27 +05:30
Linear Search.cpp Fixed Linear Search 2017-12-26 16:36:19 +05:30
Linked List.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
List Array.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
Paranthesis Matching.cpp Update Paranthesis Matching.cpp 2016-10-14 01:24:38 -07:00
Primality Test.cpp Add Primality Test 2017-12-25 14:39:09 +05:30
Queue Using Array.cpp Enque and Deque 2016-08-09 16:40:41 +05:30
Queue Using Linked List.cpp Enque and Deque 2016-08-09 16:40:41 +05:30
README.md Add files via upload 2017-12-27 13:47:42 +01:00
Reverse a Linked List using Recusion.cpp Reverse a Linked List using Recusrion 2016-12-10 19:35:28 +05:30
s[i] Added sparse matrix program. 2017-06-07 21:41:54 +05:30
searching.cpp update searching.cpp 2017-02-10 21:57:32 +05:30
sieve_of_Eratosthenes.cpp Added Sieve of Eratostheness 2017-10-09 02:34:50 +01:00
Sparse matrix.cpp Added sparse matrix program. 2017-06-07 21:41:54 +05:30
Stack Using Array.cpp Made changes to stack program using array implementation 2017-05-17 00:31:19 +05:30
Stack Using Linked List.cpp Stack Queue and Circular Queue 2016-08-09 15:50:07 +05:30
Strassen Matrix Multiplication.cpp N Queen Problem 2017-04-23 13:17:42 +05:30
ternary_search.cpp Ternary Search Algorithm 2017-10-09 02:19:59 +01:00
Tower of Hanoi.cpp comment changed 2016-08-30 15:01:33 +05:30
Tree.cpp Binary Tree 2016-10-04 15:57:46 +05:30
Union_of_2_arrays.cpp Added union and intersection of 2 arrays. 2017-06-06 12:50:27 +05:30

C++

This repository contains some useful algorithms and data structures.

Contribute

How you can contribute? See this small guide.

  • Use the directory structure of the repository.
  • Please describe your pull requests.
  • Don't use bits/stdc++.h because this is quite Linux specific and slow down the compiler process.
  • Put in comments in your code.
  • Avoid struct uses instead the class keyword.
  • Add some test cases in the main-function.