issues
search
lprimeroo
/
DSA
Implementations of various data structures and algorithms.
MIT License
106
stars
179
forks
source link
readme
DSA (Data Structures and Algorithms)
Reference purposes .
Knuth-Morris-Pratt Algorithm
cpp
python
Depth First Search w/o stack
cpp
python
Depth First Search with stack
cpp
python
Breadth First Search
cpp
python
java
kotlin
Suffix Arrays
cpp
Segment Trees
cpp
python
java
kotlin
Segment Trees with Lazy Propogation
cpp
Segment Trees with Max Prefix/Suffix Sum and Max Subvector Sum
cpp
Euler Totient Function
cpp
python
kotlin
Dijkstra's Algorithm
cpp
python
java
kotlin
Fast Modulo Multiplication / Binary Exponention
cpp
python
java
kotlin
Dijkstra's Algorithm
cpp
python
java
Fast Modulo Multiplication / Binary Exponention
cpp
python
java
Meet in Middle
cpp
python
Binary Search
cpp
python
java
kotlin
coffee
f#
chapel
Matrix Exponention for Fibonacci Series
cpp
Modular Multipicative Inverse using Fermat's Theorem
cpp
Tries
cpp
python
Bellman-Ford Algorithm
cpp
python
Rabin-Karp Algorithm
cpp
python
Binary Search Tree
python
c
Sieve of Eratosthenes
cpp
python
java
kotlin
Maximum Bipartite Matching
cpp
python
Floyd-Warshall Algorithm
cpp
python
java
kotlin
Pollard Rho Integer Factorization
cpp
python
Binary Indexed Trees / BIT
cpp
python
Square Root Decomposition
cpp
Ford-Fulkerson Algorithm for Maximum Flow (BFS)/ Edmonds Karp Algorithm
cpp
java
kotlin
Miller Rabin Primality Test
cpp
python
Fibonacci Numbers using fast doubling
cpp
python
java
kotlin
Generating Non-Fibonacci Numbers
cpp
python
Segmented Sieve Method of Erastothenes
cpp
python
Quick Sort
cpp
python
java
kotlin
c
Heap Sort
cpp
python
java
kotlin
ConvexHull(GrahamScan)
cpp
Longest Increasing Subsequence
python
Mergesort
cpp
python
java
kotlin
scala
c
Closest Pair Of Points
cpp
Radix Sort
cpp
python
java
kotlin
Knapsack 0-1
python
java
kotlin
Nqueens
python
java
kotlin
cpp
Longest Common Subsequence
python
Kruskal Algorithm
cpp
java
kotlin
Bubble Sort
cpp
python
java
kotlin
scala
c
Stacks - Array implementation
cpp
- Linked List Implementation
cpp
Queue
cpp
c
java
kotlin
Comb Sort
java
kotlin
Shell Sort
java
kotlin
cpp
Prim's Algorithm
python
Expression Tree
cpp
Linked List functionality
c
Min Heap as array
cpp
java
kotlin
Max Heap as array
cpp
java
kotlin
Insertion Sort
Python
cpp
java
kotlin
c
Miller Rabin Primality Test
cpp
Sieve of eratosthenes
cpp
Sieve implemented with BIT
cpp
Z algorithm (Linear time pattern searching Algorithm)
cpp
Karatsuba algorithm (for fast multiplication)
cpp
python
Counting sort
cpp
python
Modular Multiplicative Inverse
cpp
Counting sort
cpp
CircularBuffer
cpp
Selection Sort
python
cpp
java
kotlin
c
ConvexHull(MonotoneChain)
cpp
Topological Sort
cpp
python
Factors of an integer
clojure
Shunting Yard Algorithm
java
kotlin
Closest Pair Algorithm
cpp
Bucket Sort Algorithm
cpp
java
kotlin
K-Dimensional Tree
cpp
Disjoint set Union
cpp
Inorder Binary Tree Traversal recursive
cpp
Inorder Binary Tree Traversal iterative using Stack
cpp
Inorder Morris Traversal
cpp
Ternary Search
cpp