Pranav Hegde Profile
Pranav Hegde

@pranav_hegde80

Followers
63
Following
128
Media
240
Statuses
343

๐Ÿš€ Tech Enthusiast | ๐Ÿ’ป Learning DSA & Solving Problems | 1๐ŸŒŸ on CodeChef| GFG : https://t.co/rccWeXfrCB

India
Joined December 2024
Don't wanna be here? Send us removal request.
@pranav_hegde80
Pranav Hegde
1 day
๐Ÿ”„ Day 160/365 #365DaysOfCodeโœ… . ๐Ÿ”ฅ Solved GFGโ€™s "String Counting" #geeksforgeeks. โšก Approach:Frequency Counting + Combinatorics . โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C: O(1) . ๐Ÿ’ก Key Insight: Count character pairs to avoid brute force! . #DSA #Combinatorics #algorithm .#ProblemSolving
Tweet media one
1
0
4
@pranav_hegde80
Pranav Hegde
1 day
๐Ÿ”„ Day 160/365 #365DaysOfCodeโœ… . ๐Ÿ”ฅ Solved GFGโ€™s "String Counting" #geeksforgeeks. โšก Approach:Frequency Counting + Combinatorics . โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C: O(1) . ๐Ÿ’ก Key Insight: Count character pairs to avoid brute force! . #DSA #Combinatorics #algorithm .#ProblemSolving
Tweet media one
0
0
1
@pranav_hegde80
Pranav Hegde
2 days
๐Ÿ”ข Day 159/365 #365DaysOfCodeโœ… . ๐ŸŽฏ Solved "Count Pairs" Challenge! . โšก Approach: Binary Search (Lower/Upper Bound) . โฑ๏ธ T.C:O(n log n) | ๐Ÿ’พ S.C: O(1) . ๐Ÿ“Š Initially did it through .Brute Force โ†’ Optimized with Binary Search! . #DSA #BinarySearch #Optimization #Coding
Tweet media one
0
0
1
@pranav_hegde80
Pranav Hegde
2 days
๐Ÿ”ข Day 159/365 #365DaysOfCodeโœ… . ๐ŸŽฏ Solved "Count Pairs" Challenge! . โšก Approach: Binary Search (Lower/Upper Bound) . โฑ๏ธ T.C:O(n log n) | ๐Ÿ’พ S.C: O(1) . ๐Ÿ“Š Initially did it through .Brute Force โ†’ Optimized with Binary Search! . #DSA #BinarySearch #Optimization #Coding
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
3 days
๐Ÿ”— Day 158/365 #365DaysOfCodeโœ… . ๐Ÿงน Solved "Remove Duplicates from Unsorted LL"! #geeksforgeeks. โšก Approach:Hash Map Tracking . โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C:O(n) . ๐Ÿ’กKey Insight:Track seen nodes with hash map to eliminate duplicates! . #DSA #LinkedList #HashMaps #Coding
Tweet media one
0
1
3
@pranav_hegde80
Pranav Hegde
3 days
๐Ÿ”— Day 158/365 #365DaysOfCodeโœ… . ๐Ÿงน Solved "Remove Duplicates from Unsorted LL"! #geeksforgeeks. โšก Approach:Hash Map Tracking . โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C:O(n) . ๐Ÿ’กKey Insight:Track seen nodes with hash map to eliminate duplicates! . #DSA #LinkedList #HashMaps #Coding
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
4 days
๐Ÿ”ก Day 157/365 #365DaysOfCode โœ… . ๐ŸŽฏ Solved "k-1 Distinct Substrings"! @geeksforgeeks. โšก Approach:Sliding Window + Hash Map. โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C: O(k) . ๐Ÿ’กKey Insight: Track char counts in window of size k! . #DSA #SlidingWindow #Strings #Coding.#LearnInPublic
Tweet media one
1
0
3
@pranav_hegde80
Pranav Hegde
4 days
๐Ÿ”ก Day 157/365 #365DaysOfCode โœ… . ๐ŸŽฏ Solved "k-1 Distinct Substrings"! @geeksforgeeks. โšก Approach:Sliding Window + Hash Map. โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C: O(k) . ๐Ÿ’กKey Insight: Track char counts in window of size k! . #DSA #SlidingWindow #Strings #Coding.#LearnInPublic
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
5 days
๐Ÿ”„ Day 156/365 #365DaysOfCode โœ… . ๐Ÿ”ฅ Solved "Two Swaps Sorting"! @geeksforgeeks. โšก Approach: Index Matching + Smart Swaps . โฑ๏ธ T.C: O(n) . ๐Ÿ’พ S.C:O(n) . ๐Ÿ’ก Key Insight:Match indices & count swaps needed! . #DSA #Sorting #Arrays #ProblemSolving #LearnInPublic .#consistency
Tweet media one
0
0
2
@pranav_hegde80
Pranav Hegde
5 days
๐Ÿ”„ Day 156/365 #365DaysOfCode โœ… . ๐Ÿ”ฅ Solved "Two Swaps Sorting"! @geeksforgeeks. โšก Approach: Index Matching + Smart Swaps . โฑ๏ธ T.C: O(n) . ๐Ÿ’พ S.C:O(n) . ๐Ÿ’ก Key Insight:Match indices & count swaps needed! . #DSA #Sorting #Arrays #ProblemSolving #LearnInPublic .#consistency
Tweet media one
0
0
1
@pranav_hegde80
Pranav Hegde
6 days
๐ŸŽฎ Day 155/365 #365DaysOfCode โœ… . ๐Ÿ† Solved "Gold is Old" Quest Problem! @geeksforgeeks. โšก Approach: Max-Heap + Greedy . โฑ๏ธ T.C: O(n log n) . ๐Ÿ’พ S.C: O(n) . ๐Ÿ’กKey Insight:Always pick the highest EXP gain you qualify for!. #DSA #Heap #Greedy #problemSolving #LearnInPublic
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
6 days
๐ŸŽฎ Day 155/365 #365DaysOfCode โœ… . ๐Ÿ† Solved "Gold is Old" Quest Problem! @geeksforgeeks. โšก Approach: Max-Heap + Greedy . โฑ๏ธ T.C: O(n log n) . ๐Ÿ’พ S.C: O(n) . ๐Ÿ’กKey Insight:Always pick the highest EXP gain you qualify for!. #DSA #Heap #Greedy #problemSolving #LearnInPublic
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
7 days
Guys how many of u attempted today's codechef . ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป starters -194 contest ? . ๐Ÿ˜๐Ÿ˜.
0
0
0
@pranav_hegde80
Pranav Hegde
7 days
Guys how many of u attempted today's codechef .๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป starters -194 contest ? . ๐Ÿ˜๐Ÿ˜.
0
0
0
@pranav_hegde80
Pranav Hegde
8 days
๐Ÿฝ๏ธ Day 153/365 #365DaysOfCodeโœ… . ๐Ÿ’ฐ Solved "Friends' Dining Problem"! @geeksforgeeks. โšก Approach: Pair Sorting + Greedy . โฑ๏ธ T.C: O(n log n) | ๐Ÿ’พ S.C: O(n) . ๐Ÿ’กKey Insight: Sort by price & pick cheapest non-disliked options! . #DSA #Greedy #Sorting #ProblemSolving
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
8 days
๐Ÿฝ๏ธ Day 154/365 #365DaysOfCodeโœ… . ๐Ÿ’ฐ Solved "Friends' Dining Problem"! @geeksforgeeks. โšก Approach: Pair Sorting + Greedy . โฑ๏ธ T.C: O(n log n) | ๐Ÿ’พ S.C: O(n) . ๐Ÿ’กKey Insight: Sort by price & pick cheapest non-disliked options! . #DSA #Greedy #Sorting #ProblemSolving
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
12 days
๐Ÿ”ข Day 151/365 #365DaysOfCode โœ… @geeksforgeeks. ๐Ÿ”ฅ Solved "Next Greater Frequency Element"!. โšกApproach: Stack + Frequency Map . โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C: O(n). ๐Ÿ’ก Key Insight: Track frequencies & use stack to find next higher freq! . #DSA #Stack #Array.#Coding #algorithm
Tweet media one
0
0
5
@pranav_hegde80
Pranav Hegde
12 days
๐Ÿ”ข Day 151/365 #365DaysOfCode โœ… @geeksforgeeks. ๐Ÿ”ฅ Solved "Next Greater Frequency Element"!. โšกApproach: Stack + Frequency Map . โฑ๏ธ T.C:O(n) | ๐Ÿ’พ S.C: O(n). ๐Ÿ’ก Key Insight: Track frequencies & use stack to find next higher freq! . #DSA #Stack #Array.#Coding #algorithm
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
13 days
๐Ÿš€ Day 150 of #365DaysOfCode. Solved: Largest Subarray with 0 Sum ๐Ÿง  @geeksforgeeks. Used: Prefix Sum + HashMap ๐Ÿงฉ.๐Ÿ‘จโ€๐Ÿ’ป T.C: O(n) . S.C: O(n). Code it โ†’ Debug it โ†’ Learn it ๐Ÿ’ฅ.#DSA #GFG #ProblemSolving #CodingJourney #LearnInPublic
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
13 days
๐Ÿš€ Day 150 of #365DaysOfCode. Solved: Largest Subarray with 0 Sum ๐Ÿง  @geeksforgeeks. Used: Prefix Sum + HashMap ๐Ÿงฉ.๐Ÿ‘จโ€๐Ÿ’ป T.C: O(n) . S.C: O(n). Code it โ†’ Debug it โ†’ Learn it ๐Ÿ’ฅ.#DSA #GFG #ProblemSolving #CodingJourney #LearnInPublic
Tweet media one
0
0
0