Aditya Sharma
@adityasharma364
Followers
70
Following
283
Media
205
Statuses
266
Joined June 2024
DSA Problem Series : Topic: Reverse Kth Group using Queue Used Queue + Stack combo to reverse elements in fixed-size groups. Learned how both data structures balance order Mentors: @lovebabbar3 & Lakshay Kumar (@CodeHelp4U ) #DSA #Queue #Cplusplus #CodeHelp #ProblemSolving
0
1
3
DSA Problem Series β Day 49 π Topic: Deque (Double Ended Queue) Learned how to perform insertion and deletion from both ends efficiently. Also explored its use in sliding window problems and palindrome checking. Mentors: @lovebabbar3 (@CodeHelp4U ) #DSA #Deque #Cplusplus
0
1
3
DSA Problem Series Topic: Queue (Creation of Queue) Learned FIFO logic, enqueue & dequeue ops using array. Mentors: @lovebabbar3 & Lakshay Kumar (@CodeHelp4U ) #DSA #Queue #Cplusplus #Coding #CodeHelp #letsconnect #learninpubic #buildinpublic
0
1
3
β
Strings / Sliding Window Problem: Longest Substring Without Repetition Key Learnings : β¦ Track chars using hashmap β¦ Shrink window when duplicate found β¦ Each char processed once β O(n) Thanks β€οΈ @lovebabbar3 (@CodeHelp4U ) #letsconnect #learninpublic
0
1
3
β
Stack / Simulation Problem: Asteroid Collision Key Learnings β¦ Use stack to track right-moving asteroids β¦ Compare with top when left-moving appears β¦ Pop until collision resolved Thanks β€οΈ @lovebabbar3 & Lakshay Kumar (@CodeHelp4U ) #100DaysOfCode #DSA #CodeHelp
0
1
2
β
Stack / Greedy Problem: Remove K Digits Key Learnings β¦ Maintain an increasing stack β¦ Pop when current < top (greedy choice) β¦ Remove extra digits & trim leading zeros β¦ O(n) efficient solution Thanks β€οΈ @lovebabbar3 (@CodeHelp4U ) #letsconnect #DSA #CodeHelp
2
1
5
Day 17 β
String problems: -> Rotate String -> Isomorphic Strings Key Learnings πΈ Concatenation helps in rotation checks πΈ Hash maps make pattern mapping easy Thanks β€οΈ @lovebabbar3 & Lakshay Kumar (Code Help) #100DaysOfCode #Day17 #DSA #letsconnect #connect #learninpublic
1
0
5
Day 16 β
String problems: -> Longest Common Prefix ->Largest Odd Number in String Key Learnings πΈ Sorting helps with prefix problems πΈ Odd/even check simplifies string-number logic Thanks β€οΈ @lovebabbar3 & Lakshay Kumar (Code Help) #100DaysOfCode #Day16 #DSA #letsconnect
0
0
5
Day 14 β
Binary Search problems: Split Array Largest Sum Median of Two Sorted Arrays Thanks β€οΈ @lovebabbar3 & Lakshay Kumar (Code Help) #100DaysOfCode #Day14 #DSA #letsconnect #learninpublic #buildinpubic #CONNECT
1
0
7
Day 13β
Binary Search problems: -> Kth Missing Positive Number -> Allocate Minimum Pages (minimize max pages per student) Thanks mentors β€οΈ @lovebabbar3 & Lakshay Kumar (Code Help) #100DaysOfCode #Day13 #DSA #letsconnect #connect #buildinginpublic #LearnInPublic
0
0
7
Day 11β
Binary Search problems: -> Find Peak Element (greater than neighbors) -> Koko Eating Bananas (min eating speed using binary search on answer) Thanks mentors β€οΈ @lovebabbar3 & Lakshay Kumar #100DaysOfCode #Day11 #DSA #letsconnect #connection #LearnInPublic
0
0
6
Day 10 β
Binary Search problems: -> Minimum in Rotated Sorted Array ->Find how many times array rotated ->Single element in sorted array (others appear twice) Thanks mentors β€οΈ@lovebabbar3 & Lakshay Kumar (Code Help) #100DaysOfCode #Day10 #DSA #letsconnect #buildinpublic
1
0
7
Day 9 β
Binary Search problems: ->Ceil (smallest β₯ x) ->Floor (largest β€ x) -> Search in Rotated Sorted Array I -> Search in Rotated Sorted Array II Thanks to mentors β€οΈ @lovebabbar3 & Lakshay Kumar (Code Help) #100DaysOfCode #Day9 #DSA #letsconnect #buildinpublic
0
0
5
Day 8 β‘ Started Binary Search problems: ->Search element x in a sorted array ->Find the index where an element should be inserted (Search Insert Position) ->Find the first element greater than or equal to x (Lower Bound) #100DaysOfCode #Day8 #DSA #BinarySearch #letsconnect
0
0
4
Great coders were once beginners who didnβt quit. π»π₯ Every bug you fix is a step closer to mastery. Keep going. π #100DaysOfCode #CodingJourney #Motivation #letsconnect #buildInPublic
0
0
2
Day 7 β LeetCode Grind β‘ πΉ Majority Element (BoyerβMoore) πΉ Majority Element II (extended BoyerβMoore) Lesson: The right algorithm can cut extra space & stay O(n) π #LeetCode #100DaysOfCode #DSA #ProblemSolving #CodingJourney #letsconnect #learninginpublic #buildinpublic
0
0
8
Day 6 β LeetCode Grind β‘ π Max Points From Cards β Sliding window trick π Next Permutation β Find dip, swap, reverse suffix Pattern recognition is the real game π #LeetCode #100DaysOfCode #DSA #ProblemSolving
#letsconnect #buildinpublic #LearnInPublic
0
0
6
Day 5 β LeetCode Grind π Revision day! Went back and re-solved: β’ Arrays (Find Duplicate, Sort Colors, Move Zeroes, Buy/Sell Stock) β’ Prefix sum problems β’ Two Sum, Three Sum, Four Sum β’ Container With Most Water, Pivot Index #LeetCode #100DaysOfCode #letsconnect
0
0
2
Day 3 β LeetCode Grind β‘ Solved today: β Two Sum β Three Sum β Four Sum Key takeaways: β’ Hash map for instant lookups in Two Sum β’ Sorting + two pointers for 3/4 Sum β’ Deduplication strategies to avoid repeated triplets/quadruplets #LeetCode #letsconnect #DSA #problem
4
0
5
Day 2 β LeetCode Grind β‘ Solved: π§ Container With Most Water π Pivot Index β Prefix sum based questions Key takeaways: Two-pointer optimization, prefix sum for O(n) solutions #LeetCode #100DaysOfCode #DSA #CodingJourney #ProblemSolving #letsconnect
4
0
18