/Algorithms

Contains Leetcode problems, Algorithms, and Advent of Code solutions

Primary LanguagePython

Algorithms

Structure

The structure of the repository:

├── daily_challenges
│   ├── 2023
│   │   ├── june
│   │   │   ├── day_one.py

├── other_problems
|    ├── python
│    |    ├── expressive_words.py

├── algorithms
|    ├── python
|    |   ├── wa_tor.py

├── advent_of_code
|    ├── 2023
|    |   ├── day_one.py

Disclaimer

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.

Leetcode Statistics

Daily challenges by month

Month Daily Challenges
January 0
December 0
November 0

Total problems by language

Language Number of Problems
Java 9
C# 5
JavaScript 3
Python3 39

Total problems by difficulty

Difficulty Number of Problems
All 54
Easy 29
Medium 22
Hard 3

Total problems by topic

Topic Number of Problems Level
Backtracking 1 advanced
Dynamic Programming 5 advanced
Divide and Conquer 1 advanced
Trie 1 advanced
Union Find 1 advanced
Tree 4 intermediate
Binary Tree 4 intermediate
Hash Table 10 intermediate
Ordered Set 1 intermediate
Graph 2 intermediate
Greedy 3 intermediate
Binary Search 8 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 21 fundamental
Matrix 2 fundamental
String 14 fundamental
Simulation 3 fundamental
Sorting 4 fundamental
Stack 3 fundamental
Queue 1 fundamental
Linked List 2 fundamental
Two Pointers 4 fundamental