Skip to content

CaedenPH/Algorithms

 
 

Repository files navigation

Leetcode

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.

Languages

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.

Structure

The structure of the repository is as follows:

├── Daily Challenges │ ├── 2023 │ │ ├── June │ │ │ ├── day_one.py ├── Other Problems │ ├── expressive_words.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.

Statistics

Daily challenges by month

Month Daily Challenges
July 0
June 11
May 0

Total problems by language

Language Number of Problems
Java 9
JavaScript 3
Python3 40

Total problems by difficulty

Difficulty Number of Problems
All 47
Easy 24
Medium 20
Hard 3

Total problems by topic

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

About

Contains Leetcode problems, Algorithms, and Advent of Code solutions

Topics

Resources

Stars

Watchers

Forks