This repository contains my solutions to a variety of LeetCode problems, organized by topics and categories, including SQL queries, Pandas exercises, and the LeetCode 75 series. Each problem folder includes solutions in MySQL, MsSQL, R and Python where applicable.
A collection of solutions for the top 50 SQL questions on LeetCode. Solutions are categorized under topics like SELECT
and BASIC JOINS
. Each question folder contains:
- MySQL Solution: The solution using MySQL.
- MsSQL Solution: The solution using MsSQL.
- Pandas Solution: The solution using Pandas in Python.
SQL_Top_50_Q/
├── Select/
│ ├── Recyclable and Low Fat Products/
│ │ ├── MySQL_solution.sql
│ │ ├── Pandas_solution.py
│ │ └── MsSQL_solution.sql
│ └── ...
│
├── Basic Joins/
│ ├── Replace Employee ID With The Unique Identifier/
│ └── ...
├── ...
A collection of solutions for the daily problems on LeetCode. Solutions are categorized under each question names. Each question folder contains:
- solution.py: The solution using Python.
- solution.R: The solution using R.
Daily_Problems/
├── Easy/
│ ├── 344. Reverse String/
│ │ ├── solution.R
│ │ └── solution.py
│ └── ...
├── Medium/
│ └── ...
└── Hard/
└── ...
- Navigate to the desired category (e.g.,
SQL Top 50 Q
orDaily Problems
). - Inside each category, find solutions to individual problems, organized by their LeetCode problem names.
- create_problem.py is for updating the structure of the repo.
If you'd like to contribute or improve solutions, feel free to fork this repository, make updates, and submit a pull request!
Happy coding!