This is a repository where I will be saving my solutions to the problems I solve on Leetcode. I aim to solve the daily challenge everyday and also solve other problems as well.
As I start this repository, I will be using Python and Javascript to solve the problems. As I get more comfortable solving leetcode problems, I will start using using C++ and Java as well. Note: with python submissions, the leetcode runtime and memory usage varies drastically. One solution may can get a 5% time submission and at the same time an 80% time submission.
The structure of the repository is as follows:
├── Daily Challenges │ ├── 2023 │ │ ├── June │ │ │ ├── day_one.py ├── Other Problems │ ├── expressive_words.py
The solutions provided here are not the only solutions to the problems. There are many other ways to solve the problems. The solutions provided here are the ones I came up with. I will try to provide the time and space complexity of the solutions as well. My solutions may not be the most optimal solutions. I will try to improve them as I learn more about the problems and the languages I am using.
Month | Daily Challenges |
---|---|
July | 0 |
June | 11 |
May | 0 |
Language | Number of Problems |
---|---|
Java | 9 |
JavaScript | 3 |
Python3 | 40 |
Difficulty | Number of Problems |
---|---|
All | 47 |
Easy | 24 |
Medium | 20 |
Hard | 3 |
Topic | Number of Problems | Level |
---|---|---|
Backtracking | 1 | advanced |
Dynamic Programming | 3 | advanced |
Divide and Conquer | 1 | advanced |
Trie | 1 | advanced |
Union Find | 1 | advanced |
Tree | 4 | intermediate |
Binary Tree | 4 | intermediate |
Hash Table | 9 | intermediate |
Ordered Set | 1 | intermediate |
Graph | 2 | intermediate |
Greedy | 3 | intermediate |
Binary Search | 7 | intermediate |
Depth-First Search | 6 | intermediate |
Breadth-First Search | 4 | intermediate |
Recursion | 2 | intermediate |
Sliding Window | 1 | intermediate |
Bit Manipulation | 1 | intermediate |
Math | 11 | intermediate |
Design | 2 | intermediate |
Array | 16 | fundamental |
Matrix | 2 | fundamental |
String | 14 | fundamental |
Simulation | 2 | fundamental |
Sorting | 2 | fundamental |
Stack | 2 | fundamental |
Queue | 1 | fundamental |
Linked List | 1 | fundamental |
Two Pointers | 3 | fundamental |