-
-
Notifications
You must be signed in to change notification settings - Fork 48.8k
Description
Feature description
I've created a comprehensive 500+ line Python file with educational implementations of various algorithms! Here's what's included:
📚 Algorithm Categories
🔄 Sorting Algorithms
Bubble Sort
Quick Sort
Merge Sort
Heap Sort
🔍 Searching Algorithms
Binary Search (iterative & recursive)
Linear Search
Jump Search
🌐 Graph Algorithms
BFS (Breadth-First Search)
DFS (Depth-First Search - iterative & recursive)
Dijkstra's Shortest Path
💡 Dynamic Programming
Fibonacci (standard & optimized)
0/1 Knapsack
Longest Common Subsequence
Coin Change Problem
📝 String Algorithms
Palindrome Check
KMP Pattern Matching
Longest Palindromic Substring
🔢 Mathematical Algorithms
GCD (Euclidean Algorithm)
LCM
Prime Number Check
Sieve of Eratosthenes
Fast Exponentiation
📦 Data Structures
Stack
Queue
Graph (adjacency list)
Each algorithm includes:
✅ Detailed docstrings
⏱️ Time complexity analysis
💾 Space complexity analysis
🎯 Clean, readable implementations
🧪 Demo usage examples
Perfect for learning, interviews, and educational purposes! 🚀