mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
C++ 算法大全
969731d9cd
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 |
||
---|---|---|
Backtracking | ||
Computer Oriented Statistical Methods | ||
Datastructures | ||
Dynamic Programming | ||
Graph | ||
Greedy Algorithms | ||
Math/Prime_Factorization | ||
Operations on Datastructures | ||
Others | ||
Range queries | ||
Search | ||
Sorting | ||
.DS_Store | ||
Array Left Rotation.cpp | ||
Array Right Rotation.cpp | ||
Binary Search Tree.cpp | ||
Binary Search.cpp | ||
Buzz_number.cpp | ||
Circular Linked List.cpp | ||
Circular Queue Using Array.cpp | ||
Decimal To Binary.cpp | ||
Decimal To Hexadecimal .cpp | ||
Decimal to Roman Numeral.cpp | ||
Doubly Linked List.cpp | ||
fibonacci.cpp | ||
GCD_of_n_numbers.cpp | ||
Happy_number.cpp | ||
Intersection_of_2_arrays.cpp | ||
Linear Search.cpp | ||
Linked List.cpp | ||
List Array.cpp | ||
NumericStringSort.cpp | ||
Paranthesis Matching.cpp | ||
Primality Test.cpp | ||
Queue Using Array.cpp | ||
Queue Using Linked List.cpp | ||
README.md | ||
Reverse a Linked List using Recusion.cpp | ||
s[i] | ||
searching.cpp | ||
sieve_of_Eratosthenes.cpp | ||
Sparse matrix.cpp | ||
Stack Using Array.cpp | ||
Stack Using Linked List.cpp | ||
Strassen Matrix Multiplication.cpp | ||
ternary_search.cpp | ||
Tower of Hanoi.cpp | ||
Tree.cpp | ||
Union_of_2_arrays.cpp |
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.