/algorithms-and-interviews

Cheatsheet of algorithms & coding interview patterns with Python implementations and LaTeX notes.

Primary LanguagePythonMIT LicenseMIT

📘 Algorithms and Interviews

A Python-based handbook for competitive programming and coding interviews.
This repository contains implementations of common algorithms, data structures, and problem-solving patterns in Python, along with LaTeX notes covering theoretical foundations and mathematical references.


📂 Contents

Code Sections (Python)

  1. Arrays, Strings & Sorting
  2. Nested Loops & Brute Force Algorithms
  3. Recursion
  4. Backtracking
  5. Stacks
  6. Two Pointers & Sliding Window
  7. Partial Sums
  8. Graphs
  9. Hash Maps
  10. Greedy
  11. Linked Lists

Notes Sections (LaTeX / PDF)

  1. Algorithmic Fundamentals
  2. Essential Math Tables & Constants
  3. Graphs & Dynamic Programming
  4. Advanced Combinatorics & Number Theory
  5. String Algorithms, FFT-NTT, Factorization
  6. Computational Geometry & Miscellaneous

🚀 Features

  • 📑 Well-structured notes in LaTeX/PDF for quick reference
  • 🐍 Clean Python implementations of algorithms and patterns
  • 🎯 Focused on competitive programming & interview prep
  • 🧮 Covers both practical coding and theoretical math foundations

🤝 Contributing

Feel free to fork this repo, open issues, or submit pull requests.
Sharing more problems, optimizations, or notes is always welcome!


📜 License

This project is licensed under the MIT License.


Happy Coding & Problem Solving!