This repository contains my solutions to problems in different online judge platforms such as LeetCode, Work@Tech, etc. If you like this repository, consider giving it a star ⭐.
Connect with me via
- 1. LeetCode
- 2. Work At Tech
# | Title | Solutions | Difficulty | Tag |
---|---|---|---|---|
1 | Cumulative Sum | Solution | Easy | Arrays |
2 | Positive Cumulative Sum | Solution | Easy | Arrays |
3 | Identical Twins | Solution | Easy | Arrays |
# | Title | Solutions | Difficulty | Tag |
---|---|---|---|---|
1 | Binary Tree Inorder Traversal | Solution | Easy | Binary Trees |
# | Title | Solutions | Difficulty | Tag |
---|---|---|---|---|
1 | Climbing Stairs | Solution | Easy | Dynamic Programming |
2 | Longest Increasing Subsequence (LIS) | Solution | Medium | Dynamic Programming |
3 | Longest Common Subsequence (LCS) | Solution | Medium | Dynamic Programming |
4 | Maximum Sum Increasing Subsequence | Solution | Medium | Dynamic Programming |
5 | Longest Palindromic Substring (LPS) | Solution | Medium | Dynamic Programming |
6 | Edit Distance (Levenshtein Distance) | Solution | Medium | Dynamic Programming |
7 | Collect Jewels | Solution | Medium | Dynamic Programming |
8 | Subset Sum | Solution | Medium | Dynamic Programming |
9 | Subset Sum 2 | Solution | Medium | Dynamic Programming |
10 | Maximum Path Sum In Matrix | Solution | Medium | Dynamic Programming |
11 | Rod Cutting | Solution | Medium | Dynamic Programming |
12 | Coin Change | Solution | Medium | Dynamic Programming |
13 | Decode Ways | Solution | Medium | Dynamic Programming |
14 | Unique Paths | Solution | Medium | Dynamic Programming |
15 | Maximum Product Subarray | Solution | Medium | Dynamic Programming |
# | Title | Solutions | Difficulty | Tag |
---|---|---|---|---|
1 | Adjacency List To Adjacency Matrix | Solution | Easy | Graph |
2 | Adjacency Matrix To Adjacency List | Solution | Easy | Graph |
3 | Edges To Adjacency Matrix | Solution | Easy | Graph |
4 | Edges To Adjacency List | Solution | Easy | Graph |
5 | DFS Of An Acyclic Graph | Solution | Medium | Graph |
6 | DFS Of A Cyclic Graph | Solution | Medium | Graph |
7 | BFS Of A Graph | Solution | Medium | Graph |
8 | Clone A Graph | Solution | Medium | Graph |
9 | Detect Cycle In Directed Graph | Solution | Medium | Graph |
10 | Detect Cycle In Undirected Graph | Solution | Medium | Graph |
11 | Valid Course Schedule | Solution | Medium | Graph |
12 | Paths Exists In Directed Graph | Solution | Medium | Graph |
13 | Flood Fill Image | Solution | Easy | Graph |
14 | Number Of Islands | Solution | Medium | Graph |
15 | Valid Path | Solution | Medium | Graph |
16 | Capture Surrounded Regions | Solution | Medium | Graph |
18 | Knight's Journey On A Chess Board | Solution | Medium | Graph |
19 | Word Search Board | Solution | Medium | Graph |
21 | Word Ladder | Solution | Hard | Graph |
# | Title | Solutions | Difficulty | Tag |
---|---|---|---|---|
1 | Max Meetings In A Room | Solution | Medium | Greedy |
2 | Sack Of Grains | Solution | Medium | Greedy |
3 | Tasks For Profit | Solution | Medium | Greedy |
4 | Trains And Platforms | Solution | Medium | Greedy |