Pranav Hegde Profile
Pranav Hegde

@pranav_hegde80

Followers
88
Following
169
Media
303
Statuses
431

๐Ÿš€ 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
12 hours
๐Ÿ“ Day 201/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Longest Bitonic Subsequence ๐ŸŽฏ @geeksforgeeks โฑ๏ธ T.C: O(nยฒ) | ๐Ÿ’พ S.C: O(n) ๐Ÿ’ก Key Insight: bitonic[i] = LIS[i] + LDS[i] - 1 #DynamicProgramming #Algorithms #ProblemSolving #DSA #CPP #100DaysOfCode #LeetCode #InterviewPrep #Striver
Tweet media one
Tweet media two
0
0
0
@pranav_hegde80
Pranav Hegde
12 hours
๐Ÿ“ Day 201/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Longest Bitonic Subsequence ๐ŸŽฏ @geeksforgeeks โฑ๏ธ T.C: O(nยฒ) | ๐Ÿ’พ S.C: O(n) ๐Ÿ’ก Key Insight: bitonic[i] = LIS[i] + LDS[i] - 1 #DynamicProgramming #Algorithms #ProblemSolving #DSA #CPP #100DaysOfCode #LeetCode #InterviewPrep #Striver
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
5 days
โ›ฝ Day 200/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved " Gas Station " โšก Approach: ๐Ÿ‘‰ Track total โ›ฝ & current tank ๐Ÿ‘‰ If tank < 0 โ†’ reset start point ๐Ÿ‘‰ Greedy ensures โœ… unique solution โฑ๏ธ T.C: O(n) | ๐Ÿ’พ S.C: O(1) #Greedy #DSA #LeetCode #ProblemSolving #CodingJourney #InterviewPrep
Tweet media one
0
1
7
@pranav_hegde80
Pranav Hegde
6 days
๐Ÿ“… Day 199/365 #365DaysOfCode โœ… ๐Ÿ’น Best Time to Buy & Sell Stock III ๐Ÿ‘‰ At most 2 transactions ๐Ÿ’ฐ โšก Approach: ๐Ÿ”น DP + Recursion + Memoization ๐Ÿ“š โฑ๏ธ T.C: O(n ยท k ยท 2) ๐Ÿ’พ S.C: O(n ยท k ยท 2) #LeetCode #striver #DynamicProgramming #Algorithms #ProblemSolving #InterviewPrep
Tweet media one
0
0
3
@pranav_hegde80
Pranav Hegde
8 days
๐Ÿš€ Day 197/365 #365DaysOfCode ๐Ÿš€ ๐Ÿ’น Solved : Best Time to Buy & Sell Stock II ๐Ÿ“Š โšก Approach: ๐Ÿ”น Greedy โ†’ Add profit whenever prices[i] > prices[i-1] ๐Ÿงฎ ๐Ÿ”น Accumulate all upward moves ๐Ÿ’น โฑ๏ธ T.C: O(n) | ๐Ÿ’พ S.C: O(1) #LeetCode #Greedy #DSA #CPP #CodingChallenge #algorithms
Tweet media one
1
1
11
@pranav_hegde80
Pranav Hegde
10 days
๐Ÿš€ Day 1 of Web Dev Journey! Today I explored HTML <textarea> ๐Ÿ“ โ€” rows๐Ÿ“, cols๐Ÿ“, maxlength๐Ÿ”ข, readonly๐Ÿ”’ & requiredโšก. Excited to keep leveling up ๐Ÿ’ปโœจ #WebDev #HTML #100DaysOfCode
Tweet media one
Tweet media two
0
0
1
@pranav_hegde80
Pranav Hegde
12 days
๐Ÿงฉ Day 195/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved "Shortest Common Supersequence"! โšก Approach: DP tabulation โฑ๏ธ T.C: O(mn) | ๐Ÿ’พ S.C: O(mn) ๐Ÿ’ก Key Insight: Build from LCS โ†’ Add non-matching chars from both strings! #DSA #DynamicProgramming #Strings #Algorithms #striver
Tweet media one
Tweet media two
0
0
1
@pranav_hegde80
Pranav Hegde
13 days
โœจ Day 194/365 #365DaysOfCode ๐Ÿงฉ Solved "Longest Palindromic Subsequence" on #GeeksforGeeks ๐Ÿ”ฅ ๐Ÿ’ก Approach: Dynamic Programming + Memoization ๐Ÿ‘‰ Trick: Reduce it to LCS(s, reverse(s)) โฑ๏ธ T.C โ†’ O(nยฒ) ๐Ÿ’พ S.C โ†’ O(nยฒ) #DSA #gfg #ProblemSolving #learnInPublic #programming
Tweet media one
0
0
2
@pranav_hegde80
Pranav Hegde
16 days
๐Ÿ” Day 192/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved "Longest Common Substring"! #geeksforgeeks โšก Approach: DP Tabulation โฑ๏ธ T.C: O(mn) | ๐Ÿ’พ S.C: O(mn) ๐Ÿ’ก Key Insight: Match found? โž•1 to prev diagonal value โ†—๏ธ No match? Reset to 0 โŒ #DSA #DynamicProgramming #Strings #Algorithms
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
17 days
๐Ÿ“ Day 191/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Longest Common Subsequence! โšก Approach: DP + Memoization โฑ๏ธ T.C: O(mn) | ๐Ÿ’พ S.C: O(mn) ๐Ÿ’ก Key Insight: โœ”๏ธ match โ†’ 1๏ธโƒฃ + โ†–๏ธ โŒ no match โ†’ โฌ†๏ธ or โฌ…๏ธ #DSA #DynamicProgramming #Algorithms #ProblemSolving #Coding #InterviewPrep #Tech
Tweet media one
0
0
7
@pranav_hegde80
Pranav Hegde
19 days
๐Ÿš€ Day 189/365 #365DaysOfCode ๐Ÿ’ป Today I cracked โ€œCoin Change (Count Ways)โ€ on #GeeksforGeeks ๐ŸŽฏ ๐Ÿ” Used DP + Memoization to count ways to form a sum with infinite coins ๐Ÿ’ฐ โฑ T.C : O(nsum) ๐Ÿ’พ S.C : O(nsum) #DSA #ProblemSolving #LearnInPublic #Striver #algorithm #matrix
Tweet media one
0
0
5
@pranav_hegde80
Pranav Hegde
20 days
๐Ÿช™ Day 188/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved "Coin Change " on #GeeksforGeeks โšก Approach: DP + Memoization โฑ๏ธ T.C โ†’ O(n*sum) ๐Ÿ’พ S.C โ†’ O(n*sum) ๐ŸŽฏ Learned how to minimize coins to reach target sum efficiently ๐Ÿš€ #DSA #gfg #ProblemSolving #learnInPublic #striver #DP
Tweet media one
0
0
5
@pranav_hegde80
Pranav Hegde
21 days
๐Ÿ”„ Day 187/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved : Merge Sorted Array! โšก Approach: Three Pointers (Backward) โฑ๏ธ T.C: O(m+n) ๐Ÿ’พ S.C: O(m+n) ๐Ÿ’ก Key Insight: Merge backwards to avoid overwriting! #DSA #MergeSort #TwoPointers #algorithms #LeetCode #ProblemSolving
Tweet media one
Tweet media two
0
0
2
@pranav_hegde80
Pranav Hegde
24 days
Day 181/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Minimum Subset Sum Difference! โšก Approach: DP Memoization โฑ๏ธ T.C: O(n*sum) | ๐Ÿ’พ S.C: O(n*sum) #DSA #DynamicProgramming #PartitionProblem #StriversDPSeries #StriverDP #Coding #Optimization
Tweet media one
Tweet media two
0
0
7
@pranav_hegde80
Pranav Hegde
24 days
Day 184/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Minimum Subset Sum Difference! โšก Approach: DP Memoization โฑ๏ธ T.C: O(n*sum) | ๐Ÿ’พ S.C: O(n*sum) #DSA #DynamicProgramming #PartitionProblem #StriversDPSeries #StriverDP #Coding #Optimization
Tweet media one
Tweet media two
0
0
3
@pranav_hegde80
Pranav Hegde
26 days
โš–๏ธ Day 183/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Partition Equal Subset Sum with #DynamicProgramming ๐Ÿ’ป โšก Approach: Memoization โฑ๏ธ T.C: O(n*sum) ๐Ÿ’พ S.C: O(n*sum) #DSA #DP #PartitionProblem #ProblemSolving #striver #geeksforgeeks #algorithm #LearnInPublic
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
26 days
โš–๏ธ Day 184/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Partition Equal Subset Sum with #DynamicProgramming ๐Ÿ’ป โšก Approach: Memoization โฑ๏ธ T.C: O(n*sum) ๐Ÿ’พ S.C: O(n*sum) #DSA #DP #PartitionProblem #ProblemSolving #striver #geeksforgeeks #algorithm #LearnInPublic
Tweet media one
0
0
0
@pranav_hegde80
Pranav Hegde
27 days
๐Ÿ”ข Day 183/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Minimize Max Pair Sum! โšก Approach: Sorting + Two Pointers โฑ๏ธ T.C: O(n log n) | ๐Ÿ’พ S.C: O(1) ๐Ÿ’ก Key Insight: Pair smallest with largest โ†’ balance sums #DSA #Greedy #Sorting #Algorithms #ProblemSolving #LeetCode #LearnInPublic
Tweet media one
0
0
4
@pranav_hegde80
Pranav Hegde
27 days
๐Ÿ”ข Day 183/365 #365DaysOfCode โœ… ๐Ÿ”ฅ Solved Minimize Max Pair Sum! โšก Approach: Sorting + Two Pointers โฑ๏ธ T.C: O(n log n) | ๐Ÿ’พ S.C: O(1) ๐Ÿ’ก Key Insight: Pair smallest with largest โ†’ balance sums #DSA #Greedy #Sorting #Algorithms #ProblemSolving #LeetCode #LearnInPublic
Tweet media one
0
0
3
@pranav_hegde80
Pranav Hegde
28 days
โš”๏ธ Day 182/365 #365DaysOfCodeโœ… ๐Ÿ”ฅ Solved "Tymin's War Strategy"! #geeksforgeeks Approach: Greedy + Sorting โฑ๏ธ T.C:O(n log n) ๐Ÿ’พ S.C:O(n) ๐Ÿ’ก Key Insight: Sort by soldiers needed โ†’ fill smallest first #DSA #Greedy #LearnInPublic #ProblemSolving #algorithm
Tweet media one
0
0
1