This repository contains my personal solutions to LeetCode problems, written in C++, Python, and SQL. The problems are organized by difficulty and span a wide range of algorithmic topics.
Leetcode/
βββ Easy/ # Easy difficulty problems
βββ Medium/ # Medium difficulty problems
βββ Hard/ # Hard difficulty problems
βββ SQL/ # SQL query problems
Each file follows the format:
problem_number. problem_name. extension
Examples:
1. Two Sum.cpp704. Binary Search.cpp175. Combine Two Tables.sql
Problems are tagged by topic (as retrieved from LeetCode). Here's a breakdown:
- Array Γ108
- String Γ43
- Sorting Γ25
- Two Pointers Γ20
- Simulation Γ11
- Stack Γ9
- Enumeration Γ6
- Matrix Γ5
- Math Γ54
- Hash Table Γ31
- Binary Search Γ22
- Bit Manipulation Γ19
- Depth-First Search (DFS) Γ13
- Breadth-First Search (BFS) Γ11
- Tree Γ10
- Binary Tree Γ10
- Dynamic Programming (DP) Γ31
- Backtracking Γ7
- Divide and Conquer Γ7
- Union Find Γ3
- Topological Sort Γ3
- Trie Γ2
- Shortest Path Γ2
- Game Theory Γ1