Python implementation of data structures and algorithms
Project description
algos-in-py
Sorting
- Bubble Sort [x]
- Selection Sort [x]
- Insertion Sort [x]
- Quick Sort [x]
- Merge Sort [x]
- Heap Sort [x]
- Counting Sort [x]
- Radix Sort [x]
- Bucket Sort [x]
Searching
- Linear Search [ ]
- Binary Search [x]
- Ternary Search [ ]
- Jump Search [ ]
- Interpolation Search [ ]
- Exponential Search [ ]
Data Structure
- Array
- Stack
- Queue [x]
- Linked List
String
- Naive Pattern Searching
- KMP
- Rabin-Karp
- Finite Automata
- Suffix Array
- Z Algorithm
Mathematics
Number Theory
- Fibonacci Series
- Palindrome Number
- Prime Number
- Finding Divisors
- Base Conversion
- Greatest Common Divisor (GCD) (Euclidean method)
- Lowest Common Multiple (LCM)
- Number of Digits of a Factorial
- Phi Function (Euler Totient)
- Extended Euclidean
- Prime Factorization
- Modular Exponentiation
Tree
- Binary Tree
- Binary Search Tree
- Red-black Tree
- AVL Tree
- Segment Tree [x]
- Binary Index Tree [x]
- Trie
Graph
- Breadth First Search (BFS) [x]
- Depth First Search (DFS) [x]
- Shortest Path from source to all vertices Dijkstra
- Shortest Path from every vertex to every other vertex Floyd Warshall
- Minimum Spanning tree Prim
- Minimum Spanning tree Kruskal
- Topological Sort [x]
- Johnson’s algorithm
- Articulation Points (or Cut Vertices) in a Graph
- Strongly Connected Components (SCC)
- Kosaraju’s Algorithm
- Bellman-Ford
Dynamic Programming
- Recursive vs Iteration
- Longest Increasing/Decreasing Subsequence (LIS/LDS)
- Longest Common Subsequence (LCS)
- Edit Distance
- Traveling Salesman
- Coin Change
Greedy Techniques
- Maximum Sum in Subarray (1D)
- Maximum Sum in Rectangle (2D)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
algosinpy-0.1.0.tar.gz
(14.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
algosinpy-0.1.0-py3-none-any.whl
(21.4 kB
view details)
File details
Details for the file algosinpy-0.1.0.tar.gz.
File metadata
- Download URL: algosinpy-0.1.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
372a44728a5a93c31788cf30b29b61d9050fc2a24401d12c50125f7e02585d6d
|
|
| MD5 |
dca4ab5ccca9cd389e54e449ffa7c0e6
|
|
| BLAKE2b-256 |
0ab7560735c52c259238dab630e7198991e4ee25f6d1c573d1fb46f151bbcf77
|
File details
Details for the file algosinpy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: algosinpy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
268a13b775aec604701c312282418f1472143c38ba8c539e2dd98b6b06e8f9a6
|
|
| MD5 |
2f3f97de9879ab416eeca88cd97b2ed5
|
|
| BLAKE2b-256 |
909e2a5ddd57492d183ca37895ca2ce6270b5c53cb5262d3f402bf63ea0f6311
|