Skip to content

Add a Complete DSA Series in Python (Explanations + Implementations) #3354

@Him-an-shi

Description

@Him-an-shi

I would like to contribute a structured series that covers all major DSA topics and algorithms in Python, with step-by-step explanation, dry-run walkthrough, clean code, complexity analysis, and organized folder structure.

Each topic will be added as a separate PR in a standard format:

  • ✅ Concept Explanation (README or inline documentation)
  • ✅ Python Code (clean & well-commented)
  • ✅ LeetCode Example
  • ✅ Time & Space Complexity
  • ✅ Real-world Use Case (if applicable)

Topics Planned:

  1. Searching Algorithms
  • Linear Search
  • Binary Search (Iterative + Recursive)
  • Two Pointer Technique
  1. Sorting Algorithms
  • Bubble, Selection, Insertion Sort
  • Merge Sort, Quick Sort, Heap Sort
  1. Recursion
  • Recursion Foundation
  • Factorial, Fibonacci
  1. Data Structures Implementation in Python
  • Stack, Queue (Array + Linked List versions)
  • Linked List (Singly, Doubly,etc)
  • HashMap (Python dict vs. custom)
  1. Graph Algorithms
  • BFS / DFS
  • Union-Find (Disjoint Set)
  • Dijkstra / Topological Sort
  1. Trees & BST
  • Minimum Spanning Trees
  • Prims and Kruskal Algorithms
  • Binary Tree Traversals (Inorder, Preorder, Postorder)
  • BST Insert / Search / Delete
  1. Advanced DSA (Optional Extensions)
  • Dynamic Programming Basics (LIS, Knapsack, Coin Change)
  • Trie (Prefix Search)
  • Segment Tree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions