Day 18/160 of my #160dayschallenge@geeksforgeeks
Smashed the KMP Algorithm - Search Pattern problem today!
All 1115 test cases passed in a single shot β 100% accuracy!
One step closer to mastering string algorithms.
#gfg160#DSA#CodeLife
Day 16/160 #160gfgchallenge#gfg160
Solved the Anagram problem on GeeksforGeeks β all 1116 test cases passed on the first attempt!
Used frequency counting with a neat vector trick in C++.
Another one down, let's keep pushing!
#DSA#Cplusplus#GeeksforGeeks#CodingJourney
Day 8 of #gfg160dayschallenge
Tackled the Stock Buy and Sell (Max One Transaction) problem today!
Key idea: Track the minimum price so far and calculate max profit on the go.
Time: O(n) | Space: O(1)
DSA grind continues!
#100DaysOfCode#GeeksforGeeks#CodingJourney
Day 6 β | #160GFGChallenge
Solved Majority Element II today! π
π‘ Used Boyer-Moore Voting Algorithm to find elements appearing more than βn/3β times.
βοΈ Passed 1112/1112 test cases with 100% accuracy!
@geeksforgeeks#100DaysOfCode#GeeksForGeeks#DSA
Day 4/160 of #160DaysGFGChallenge β
Today, I tackled 'Rotate an Array by d (Counter Clockwise / Left)'! π
Mastered different approaches, from brute force to efficient ones. π‘
On to the next challenge! π₯
@geeksforgeeks#GeeksforGeeks#DSA#Coding
Day 3οΈβ£ of #160DaysGFGChallenge
Solved Reverse an Array today! ππ§βπ»
Learned how to swap elements efficiently
Implemented both iterative & recursive approaches
Optimized time complexity to O(N)
On to the next challenge! π
@geeksforgeeks#100DaysOfCode#DSA#GeeksforGeeks