C++ 算法大全
Go to file
Naveen Hegde 969731d9cd
Added Numeric String Sort
Sorts an array of Numeric strings.
An array of strings like 1,2,3,10,20,30,100,200,300 are sorted as 1,10,100,2,20,200,3,30,300 Conventionally.
This programme sorts them in the correct numeric order i.e 1,2,3,10,20,30,100,200,300
2017-12-30 02:02:44 +05:30
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 DFS with stack 2017-10-01 09:40:00 +02:00
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 Merge pull request #83 from hegdenaveen1/patch-11 2017-12-29 20:55:54 +01:00
Range queries segment tree with lazy propagation 2017-08-29 15:04:30 +05:30
Search Rectified Linear Search 2017-12-26 16:29:37 +05:30
Sorting Added SlowSort 2017-12-25 23:38:23 +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
NumericStringSort.cpp Added Numeric String Sort 2017-12-30 02:02:44 +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.