Today's grind: π₯π» Mastered 4 string problems:
1οΈβ£ Valid Palindrome
2οΈβ£ Valid Anagram
3οΈβ£ Minimum Changes to Make Binary String Beautiful
4οΈβ£ Reverse Words in a String
Feeling the power of solving problems in public! π‘ #LearnInPublic#100DaysOfCode#LeetCode#DSA#LearnInPublic
1οΈβ£ Find Missing & Repeating in O(n) time, O(1) space β no extra memory, just pure logic!
2οΈβ£ Majority Element with Moore's Voting Algorithm πͺ efficient and slick!
3οΈβ£ Count Occurrences (GFG) in O(n) time, O(1) space, and zero extra storage.π§
#LearnInPublic#100DaysOfCode#DSA
π Learning in Public! π
πΉ 3Sum Problem: Solved with an optimal O(nΒ²) approach!
πΉ 4Sum Problem: Tackled with an efficient O(nΒ³) solution!
πΉ Trapping Water Problem: Optimized to O(1) space complexity! π
#LearnInPublic#DSA#100DaysOfCode
Progress update:
β¨ Kadaneβs Algorithm - mastered max subarray sum!
β¨ Divide Array into Equal Sum Subarrays - split for balance!
β¨ Max Difference Between Two Elements - found the extremes!
β¨ Trapping Rain Water - tackled the tricky water levels! #DSA#LeetCode#100DaysOfCode
Hey Google,
How do you calculate these probabilities?
Do you base them solely on numbers, or do you also consider cricket-specific factors?
Isn't it highly unlikely for the last three batsmen to survive for 2.5 days? π€
@Google@google
"π― Solved these key problems today:
Two Sum II
Segregate 0s and 1s
Product Pair
Pair with Given Difference
Mastered the two-pointer technique for optimized solutions! π₯ #100DaysOfCode#DSA#LeetCode#CPlusPlus"
π Crushed two LeetCode problems! πΉ Solved sqrt(x) with binary search: efficient & clean β±οΈ πΉ Nailed the peak index in a mountain array with a clean binary search solution πͺ
Binary search for the win! π₯οΈπ¨βπ» #LeetCode#DSA#LearnInPublic#100DaysOfCode
"π Just leveled up my binary search skills! Implemented solutions for:
π Counting occurrences π― Finding first & last occurrences π₯ Search insert position
#BinarySearch is getting easier with every step! π»π§ #100DaysOfCode#DSA#LearnInPublic
Progress update: π
Implemented 2 Stacks and N Stacks in an array ποΈ
Revised arrays and vectors π
Solved some basic problems to reinforce concepts:
Find 2 max in an array
Array cyclic rotation
Fibonacci series
Missing number in an array #100DaysOfCode#LearnInPublic#DSA
π₯ Solved 'Maximum of Minimum for Every Window Size'βa real brain tester! πͺ Also cracked 'Get Minimum from Stack' using a unique approach: pushed elements along with their minimums! π§ Learning and leveling up daily! #100DaysOfCode#DSA#LeetCode#GeeksforGeeks#LearnInPublic
π Just tackled Maximal Rectangle, Maximal Square, and the Celebrity Problem! π₯
Tried solving Maximal Square with stacks. Not the best, but a great learning experience! π‘
Cracked the Celebrity Problem with a two-pointer approach. π₯
#LearnInPublic#DSA#100DaysOfCode
π #LearnInPublic Solved π Stock Span & Longest Rectangle in Histogramπͺ
π¨ Longest Rectangle: Proud to have passed 62/99 test cases on my own! But hit a wall with the remaining ones π . Took notes from two different approaches and fully solved it.
#DSA#100DaysOfCode
"π Just solved some challenging stack problems:
β Minimum Add to Make Parentheses Valid β Print Bracket Number β Backspace Compare β Get Minimum at Pop β Next Greater Element β Next Smaller Element β Next Smallest on Left
On Holidayπ
#100DaysOfCode#LearnInPublic#DSA
π Just completed my exploration of graphs after returning from exam break! Learned to represent them using an adjacency matrix and implemented BFS traversal in C++. πΎ Excited to continue my #DSA journey! #LearnInPublic#100DaysOfCode
π³ Just wrapped up implementing the insert function in my #BinarySearchTree! π οΈ Now onto the delete functionβitβs a bit tricky at first, but Iβm excited to dive deeper. π‘ Learning step by step, and getting better each day!
#100DaysOfCode#LearnInPublic#DSA
π Just wrapped up learning all 3 types of tree traversal: Preorder, Inorder, and Postorder! π³π»
Also picked up a neat trick to manually figure them out in seconds during exams! β±οΈπ₯
DSA journey going strong! πͺ #100DaysOfCode#DSA#LearnInPublic
Got my results today and Iβm so happy to say I got an AA in my C programming subject! π Honestly, @codewithharry, your playlist made such a huge differenceβcouldnβt have done it without you. Feeling really grateful right now π#LearnInPublic#DSA
π Just conquered the Tower of Hanoi problem using recursion in C! π§ π
Took on this challenge for my college exam and even played the game to fully grasp the logic. It's tricky, but breaking it down step-by-step made it much clearer! πͺ
#100DaysOfCode#LearnInPublic#DSA