DSA/algorithms/CPlusPlus
Can Huynh 5c059418b7
docs: update languages index (#424)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-08-24 09:05:10 -04:00
..
Arrays chore(CPlusPlus): added remove-duplicates (#416) 2021-08-19 15:47:10 -04:00
Dynamic-Programming chore(CPlusPlus): add Matrix Chain Multiplication to Dynamic Programming (#410) 2021-08-09 08:55:57 -04:00
Graphs chore(CPlusPlus): topological sort on graphs (#381) 2021-07-09 09:25:18 -04:00
Linked-Lists enh(CPlusPlus): Add remove all elements of specific value in linked-list (#392) 2021-07-23 08:30:26 -04:00
Maths chore(CPlusPlus): add fibonacci series (#365) 2021-06-25 14:25:44 -04:00
Multiplication Migrate C++ codes to new directory structure (#226) 2021-04-18 08:05:10 -04:00
Queues Migrate C++ codes to new directory structure (#226) 2021-04-18 08:05:10 -04:00
Recursion chore: add recursion factorial C++ and Python (#413) 2021-08-10 08:25:17 -04:00
Searching chore(CPlusPlus): add exponential search (#352) 2021-06-13 12:47:23 -04:00
Sorting chore(CPlusPlus): added wave-sort (#382) 2021-07-12 08:29:45 -04:00
Stacks enh(CPlusPlus): balanced-parenthesis (#380) 2021-07-09 09:27:24 -04:00
Strings chore(CPlusPlus): created anagram (#336) 2021-06-08 06:39:49 -04:00
Trees chore(CPlusPlus): add min-heap (#343) 2021-06-10 10:16:46 -04:00
README.md docs: update languages index (#424) 2021-08-24 09:05:10 -04:00

README.md

C++

Arrays

  1. Counting Inversions
  2. Dutch Flag Algorithm
  3. Left Rotation
  4. Max Subarray Sum
  5. Shift Negatives
  6. BoyerMoore Voting Algorithm
  7. Reverse Array
  8. Sorted-Rotated Search Array
  9. Fractional Knapsack
  10. Quick Selection
  11. Remove Duplicates

Dynamic-Programming

  1. Longest Common Subsequence
  2. Longest Common Substring
  3. 0/1-knapsack
  4. Matrix chain Multiplication

Graphs

  1. Bellman Ford Algorithm
  2. kruskal Algorithm
  3. Breadth First Search
  4. Topological sort

Multiplication

  1. Karatsuba

Linked Lists

  1. All possible insertions
  2. Singly linked lists
  3. doubley linked lists
  4. Circular linked lists
  5. Removing Elements of given value
  6. Reversing a linked lists
  7. Merging two sorted linked lists
  8. Reorder List

Searching

  1. Linear Search
  2. Jump Search
  3. Binary Search
  4. Finding squareroot using Binary search
  5. KMP String Searching
  6. Ternary Search
  7. Interpolation Search
  8. Exponential Search

Stacks

  1. Balancing Parenthesis

  2. Reversing Stack

  3. Stack using Array

Sorting

  1. Bubble Sort
  2. Insertion Sort
  3. Quicksort
  4. Selection Sort
  5. 3 way Quick Sort
  6. Bucket Sort
  7. Comb Sort
  8. Counting Sort
  9. heap Sort
  10. Radix Sort
  11. Shell Sort
  12. Binary Insertion Sort
  13. Merge Sort
  14. Wave Sort

Strings

  1. Rabin-Karp pattern search algo
  2. All subsequence of a string (Recursion)
  3. String reversal
  4. String tokanisation
  5. Anagram check

Trees

  1. Creating Binary Tree
  2. Counting and finding sum of all the nodes in BST
  3. Level Order Traversal
  4. Depth first Traversal
  5. Binary Search Tree
  6. In order morris traversal
  7. In order Predecessor and Successor
  8. Avl Tree
  9. Min Heap

Maths

  1. Kaprekar Number
  2. Prime Number
  3. Prime Sieve
  4. Fibonacci Series

Recursion

  1. Tower of Hanoi
  2. Factorial