
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
๐ 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
0
0
0
๐ 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
0
0
0
โฝ 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
0
1
7
๐
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
0
0
3
๐ 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
1
1
11
๐ Day 1 of Web Dev Journey! Today I explored HTML <textarea> ๐ โ rows๐, cols๐, maxlength๐ข, readonly๐ & requiredโก. Excited to keep leveling up ๐ปโจ #WebDev #HTML #100DaysOfCode
0
0
1
๐งฉ 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
0
0
1
โจ 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
0
0
2
๐ 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
0
0
0
๐ 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
0
0
7
๐ 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
0
0
5
๐ช 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
0
0
5
๐ 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
0
0
2
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
0
0
7
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
0
0
3
โ๏ธ 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
0
0
0
โ๏ธ 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
0
0
0
๐ข 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
0
0
4
๐ข 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
0
0
3
โ๏ธ 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
0
0
1