Skip to content

This repository consists the solutions of daily solved DSA questions under #DailyDSAWithSPG challenge.

Notifications You must be signed in to change notification settings

Dheerajaktu/DailyDSA

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 

Repository files navigation

DailyDSA

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 🎯 🎯 🎯

JANUARY 2022

Day Date Topic(s) Difficulty Problem(s) Solution 1 Solution 2
1 01/01/2022 Array Easy βœ… TwoSum Click
2 02/01/2022 Array Easy βœ… Final Value of Variable After Performing Operations
Left Rotation
Click
Click
Click
3 03/01/2022 Array,String Easy βœ… Find Lucky Integer
First Unique Character
Click
Click
4 04/01/2022 Array Easy βœ… Binary Array Sorting
Move all negative elements to end
Click
Click
Click
5 05/01/2022 Array Easy βœ… Remove Element
Missing Number
Click
Click
6 06/01/2022 Array Easy βœ… Move Zeroes
Shuffle the Array
Click
Click
7 07/01/2022 Array Easy βœ… Merge Sorted Array
Remove Duplicates from Sorted Array
Click
Click
8 08/01/2022 Linked List Easy βœ… Convert Binary Number in a Linked List to Integer
Delete Node in a Linked List
Click
Click
9 09/01/2022 Linked List Easy βœ…, Medium 🟧 Add Two Numbers
Remove Nth Node From End of List
Reverse Linked List
Click
Click
Click
10 10/01/2022 Linked List Easy βœ…, Medium 🟧 Design Linked List
Merge Two Sorted Lists
Click
Click
11 11/01/2022 Linked List Medium 🟧 Remove Duplicates from Sorted List II
Delete the Middle Node of a Linked List
Click
Click
12 12/01/2022 Linked List Easy βœ…, Medium 🟧 Rotate List
Intersection of Two Linked Lists
Click
Click
13 13/01/2022 Linked List Easy βœ… Linked List Cycle Click
14 14/01/2022 Linked List Medium 🟧 Linked List Cycle II Click
15 15/01/2022 Linked List Easy βœ… Palindrome Linked List
Remove Linked List Elements
Click
Click
Click
16 16/01/2022 Linked List Medium 🟧,Easy βœ… Swapping Nodes in a Linked List
Remove Duplicates from Sorted List
Reverse Linked List II
Click
Click
Click
Click
17 17/01/2022 Linked List Medium 🟧 Odd Even Linked List Click Click
18 18/01/2022 Linked List Medium 🟧 Swap Nodes in Pairs Click
19 19/01/2022 Linked List Medium 🟧 Copy List with Random Pointer
Remove loop in Linked List
Click
Click
20 20/01/2022 Linked List Hard πŸŸ₯ Reverse Nodes in k-Group Click
21 21/01/2022 Linked List Medium 🟧 Merge In Between Linked Lists
Split Linked List in Parts
Click
Click
22 22/01/2022 Recursion Easy βœ… Power of Two
Power of Four
Click
Click
23 23/01/2022 Recursion Easy βœ…,Medium 🟧 Tower Of Hanoi
Reverse Linked List
Fibonacci Number
Click
Click
Click
24 24/01/2022 Recursion Easy βœ…,Medium 🟧 Subsets
Reverse String
Click
Click
25 25/01/2022 Recursion Medium 🟧 Pow(x, n) Click Click
26 26/01/2022 Recursion Medium 🟧 Permutations
Permutations - String
Click
Click
27 27/01/2022 Recursion Medium 🟧 Decode String Click
28 28/01/2022 Due to health issue, Not solved a problem NA NA NA NA
29 29/01/2022 Recursion Medium 🟧,Easy βœ… K-th Symbol in Grammar
Check if array is sorted
Click
Click
30 30/01/2022 Recursion & BT Medium 🟧 Combinations
Combination Sum
Click
Click
31 31/01/2022 Recursion & BT Medium 🟧 Combination Sum II Click

February 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

About

This repository consists the solutions of daily solved DSA questions under #DailyDSAWithSPG challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%