Day 22/45 of #SDESheetChallenge 🚀
✅ Implement Max Heap
✅ K-th Largest Element in an Array
✅ Maximum Sum Combination
A lot of pushing, popping, and finding the maximum.
Learning a little more every day.
#LeetCode#DSA#Java#takeUforward
Day 21/45 of #SDESheetChallenge
✅ Aggressive Cows
✅ K-th Element of Two Arrays
✅ Allocate Minimum Pages
✅ Median of Two Sorted Arrays
A few wrong approaches.
A few "wait... let me rethink this" moments.
A few accepted solutions.
Day 21 done.
#LeetCode#DSA#takeUforward
Thought I had solved Word Break with recursion... until LeetCode introduced me to TLE 😅
Spent some time understanding why it was slowing down and eventually got it accepted using a Queue (BFS) approach.
Every problem teaches something new.
#LeetCode#DSA#Java
Day 19/45 of #SDESheetChallenge
✅ M Coloring Problem
✅ Rat in a Maze
✅ Word Break
Not every path leads to the answer... but every wrong path teaches something.
Backtracking, recursion, and a lot of trial-and-error.
@takeUforward@striver_79#LeetCode#DSA#Java#SDE
Day 18/45 of #SDESheetChallenge
✅ Permutations of a String
✅ N-Queens
✅ Sudoku Solver
A full day of backtracking.
Tried a path.
Hit a dead end.
Went back.
Tried again.
Turns out that's how both backtracking and learning DSA work.😅
@striver_79@takeUforward_#LeetCode#DSA
Day 17/45 - #SDESheetChallenge
✅ Combination Sum
✅ Combination Sum II
✅ Palindrome Partitioning
✅ Permutation Sequence
Thought I was solving 4 problems.
Turns out I was solving the same backtracking problem in 4 different outfits. 😂
@takeUforward#LeetCode#DSA#Java
Day 16/45 - #SDESheetChallenge
Solved:
✅ Subset Sum Problem
✅ Assign Cookies
✅ Subsets II
✅ Minimum Coins
Every problem today had a different way of thinking behind it.
A few mistakes, a few lessons, and a few moments where the solution finally clicked. 😄
#StriversSDESheet
Day 15/45 - #SDESheetChallenge
✅ N Meetings in One Room
✅ Minimum Platforms Required
✅ Job Sequencing Problem
✅ Fractional Knapsack
Greedy algorithms be like:
"Trust me bro, pick the best option now." 😭
Surprisingly... it works.
@takeUforward_@striver_79#StriversSDESheet
I grew up watching heroes on screen.
Then I came across the journey of K. Annamalai.
Farmer's son ➝ Engineer ➝ IIM graduate ➝ IPS officer ➝ Public servant.
That's when I realized real heroes exist too. 🔥❤️
@annamalai_k#Annamalai#RealLifeHero#Inspiration
Day 13 of #SDESheetChallenge ✅
Solved:
• Rotate List
• Copy List with Random Pointer
• 3Sum
3Sum taught me patience.
Random Pointer taught me confusion.
Rotate List taught me that Linked Lists can always get weirder. 😂
Progress > Perfection .
#LeetCode#DSA#Java
Palindrome Linked List ✅
Got Accepted.
Felt smart.
Saw the optimal solution.
Felt humbled. 😂
Anyone else have a problem that made them question all their life choices after seeing the editorial?
#LeetCode#DSA#Java
Day 8/45 of #SDESheetChallenge
Solved 3 problems.
✅ Largest Subarray with Sum K
✅ Count Subarrays with XOR = K
✅ Longest Substring Without Repeating Characters
Spent 20% of the time coding.
Spent 80% wondering how HashMaps solve everything.😂
#takeUforward#java