This repository consists the solutions of daily solved DSA questions from #DailyDSAWithSPG challenge.
Goal: Solve at least one problem in a day to keep away from interview fear, unemployement and to become a good problem solver.
My solutions are coded in JAVA language.
Challenge started on 1-JAN-2022 π― π― π―
Day | Date | Topic(s) | Difficulty | Problem(s) | Solution 1 | Solution 2 |
---|---|---|---|---|---|---|
32 | 01/02/2022 | Recursion | Easy β | Min & Max Element of an Array Remove Linked List Elements |
Click Click |
|
33 | 02/02/2022 | Recursion & BT | Medium π§ | Rat in a Maze Problem - I | Click | Click |
34 | 03/02/2022 | Recursion & BT | Hard π₯ | N-Queens | Click | |
35 | 04/02/2022 | Recursion & BT | Hard π₯,Easy β | N-Queens II Number of paths |
Click Click |
|
36 | 05/02/2022 | Dynamic Programming | Easy β | Climbing Stairs Fibonacci Number N-th Tribonacci Number |
Click Click Click |
Click Click |
37 | 06/02/2022 | Dynamic Programming | Easy β | Min Cost Climbing Stairs | Click | |
38 | 07/02/2022 | Dynamic Programming | Medium π§ | House Robber House Robber II |
Click Click |
|
39 | 08/02/2022 | Dynamic Programming | Medium π§ | Target Sum | Click | |
40 | 09/02/2022 | Dynamic Programming | Medium π§ | 0-1 Knapsack | Click | |
41 | 10/02/2022 | Dynamic Programming | Medium π§ | Partition Equal Subset Sum | Click | |
42 | 11/02/2022 | Dynamic Programming | Medium π§ | Coin Change Coin Change 2 |
Click Click |
|
43 | 12/02/2022 | Dynamic Programming | Easy β | Pascal's Triangle | Click | |
44 | 13/02/2022 | Dynamic Programming | Easy β | Rod Cutting | Click | |
45 | 14/02/2022 | Dynamic Programming | Medium π§ | Perfect Squares | Click | |
46 | 15/02/2022 | Dynamic Programming | Easy β ,Medium π§ | Best Time to Buy and Sell Stock Best Time to Buy and Sell Stock II |
Click Click |
|
47 | 16/02/2022 | Dynamic Programming | Hard π₯,Medium π§ | Best Time to Buy and Sell Stock III Best Time to Buy and Sell Stock IV Best Time to Buy and Sell Stock with Cooldown Best Time to Buy and Sell Stock with Transaction Fee |
Click Click Click Click |
|
48 | 17/02/2022 | Dynamic Programming | Medium π§ | Unique Paths | Click | |
49 | 18/02/2022 | Dynamic Programming | Medium π§ | Unique Paths II | Click | |
50 | 19/02/2022 | Dynamic Programming | Easy β | Reach a given score | Click | |
51 | 20/02/2022 | Dynamic Programming | Easy β | Nth catalan number | Click | |
52 | 21/02/2022 | Dynamic Programming | Medium π§ | Unique Binary Search Trees | Click | |
53 | 22/02/2022 | Dynamic Programming | Medium π§ | Delete and Earn | Click | |
54 | 23/02/2022 | Dynamic Programming | Easy β | Counting Bits | Click | |
55 | 24/02/2022 | Dynamic Programming | Easy β | Pascal's Triangle II | Click | |
56 | 25/02/2022 | Dynamic Programming | Medium π§ | Maximum path sum in matrix | Click | |
57 | 26/02/2022 | HashMap | Easy β | Frequencies of Limited Range Array Elements Jewels and Stones Intersection of Two Arrays |
Click Click Click |
|
58 | 27/02/2022 | HashMap | Medium π§,Easy β | Check If Array Pairs Are Divisible by k Count Number of Pairs With Absolute Difference K |
Click Click |
|
59 | 28/02/2022 | HashMap | Easy β | Common Elements | Click | |
60 | 01/03/2022 | HashMap | Easy β | Count the Number of Consistent Strings | Click | |
61 | 02/03/2022 | HashMap | Easy β | Check if All Characters Have Equal Number of Occurrences Sum of Unique Elements |
Click Click |
|
62 | 03/03/2022 | HashMap | Easy β | Check if the Sentence Is Pangram Kth Distinct String in an Array |
Click Click |
Click Click |
63 | 04/03/2022 | HashMap | Easy β | Largest subarray with 0 sum | Click | |
64 | 05/03/2022 | HashMap | Easy β ,Medium π§ | First element to occur k times Encode and Decode TinyURL |
Click Click |
|
65 | 06/03/2022 | HashMap | Medium π§ | Longest Substring Without Repeating Characters | Click | Click |
66 | 07/03/2022 | |||||
67 | 08/03/2022 |