#dynamicprogramming zoekresultaten

๐Ÿงฉ LeetCode 300: Longest Increasing Subsequence ๐Ÿ”‘ Idea โ†’ DP + Binary Search โšก Approach โ†’ Recursion + Memoization โ†’ Tabulation โ†’ O(n log n) ๐Ÿ’ก Learning โ†’ Optimizing step by step shows the true power of DP ๐Ÿš€ #LeetCode #DynamicProgramming #DSA #100DaysOfCode #ProblemSolving

Tabish_khan090's tweet image. ๐Ÿงฉ LeetCode 300: Longest Increasing Subsequence
๐Ÿ”‘ Idea โ†’ DP + Binary Search
โšก Approach โ†’ Recursion + Memoization โ†’ Tabulation โ†’ O(n log n)
๐Ÿ’ก Learning โ†’ Optimizing step by step shows the true power of DP ๐Ÿš€

#LeetCode #DynamicProgramming #DSA #100DaysOfCode #ProblemSolving

Pulling an all-nighter ๐ŸŒ™ Started with DP but decided to brush up recursion first ๐Ÿ” #Coding #Recursion #DynamicProgramming #AllNighter #DevLife

gvegeta944's tweet image. Pulling an all-nighter ๐ŸŒ™  
Started with DP but decided to brush up recursion first ๐Ÿ”  
#Coding #Recursion #DynamicProgramming #AllNighter #DevLife

Print Longest Increasing Subsequence 1๏ธโƒฃ Build dp - length of LIS at each index 2๏ธโƒฃ Use hash - track predecessors to backtrack 3๏ธโƒฃ Find LIS end, trace back, reverse - actual subsequence #DynamicProgramming #100DaysOfCode #LearnInPublic #Coding #DSA

SainiAyush55396's tweet image. Print Longest Increasing Subsequence

1๏ธโƒฃ Build dp - length of LIS at each index
2๏ธโƒฃ Use hash - track predecessors to backtrack
3๏ธโƒฃ Find LIS end, trace back, reverse - actual subsequence 

#DynamicProgramming #100DaysOfCode #LearnInPublic #Coding #DSA

Which one do you prefer Memoization or Tabulation? #LeetCode #dynamicprogramming

RishiKumarSRK's tweet image. Which one do you prefer

Memoization or Tabulation?

#LeetCode #dynamicprogramming

Day 97 | Sigma 7.0 | #100DaysOfCode Covered more DP gems ๐Ÿ’Ž ๐Ÿ”น MCM (Memoization & Tabulation) ๐Ÿ”น Minimum Partitioning ๐Ÿ”น Minimum Array Jumps Bit by bit, mastering Dynamic Programming ๐Ÿ’ช Thanks @ShradhaKhapra_ Maโ€™am & @ApnacollegeX ๐Ÿ™ #DSA #DynamicProgramming #ShradhaKhapra #DP

BishwajitG03's tweet image. Day 97 | Sigma 7.0 | #100DaysOfCode
Covered more DP gems ๐Ÿ’Ž
๐Ÿ”น MCM (Memoization & Tabulation)
๐Ÿ”น Minimum Partitioning
๐Ÿ”น Minimum Array Jumps
Bit by bit, mastering Dynamic Programming ๐Ÿ’ช
Thanks @ShradhaKhapra_ Maโ€™am & @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ShradhaKhapra #DP
BishwajitG03's tweet image. Day 97 | Sigma 7.0 | #100DaysOfCode
Covered more DP gems ๐Ÿ’Ž
๐Ÿ”น MCM (Memoization & Tabulation)
๐Ÿ”น Minimum Partitioning
๐Ÿ”น Minimum Array Jumps
Bit by bit, mastering Dynamic Programming ๐Ÿ’ช
Thanks @ShradhaKhapra_ Maโ€™am & @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ShradhaKhapra #DP

๐Ÿงฉ LeetCode 1547: Minimum Cost to Cut a Stick ๐Ÿ”‘ Idea โ†’ Interval #DP + Divide & Conquer โšก Approach โ†’ Recursive splits + memoization ๐Ÿ’ก Learning โ†’ DP on partitions = optimal cuts + state reuse ๐Ÿš€ #LeetCode #DynamicProgramming #Algorithms #DSA #ProblemSolving #100DaysOfCode

Tabish_khan090's tweet image. ๐Ÿงฉ LeetCode 1547: Minimum Cost to Cut a Stick
๐Ÿ”‘ Idea โ†’ Interval #DP + Divide & Conquer
โšก Approach โ†’ Recursive splits + memoization
๐Ÿ’ก Learning โ†’ DP on partitions = optimal cuts + state reuse ๐Ÿš€

#LeetCode #DynamicProgramming #Algorithms #DSA #ProblemSolving #100DaysOfCode

#Day 19 working with @cracked_black โœ… Solved 2 LeetCode questions โœ… Started with Dynamic Programming โœ… Made progress on my React project Step by step ๐Ÿš€ #DSA #DynamicProgramming #React"

RiyanshiCh84858's tweet image. #Day 19 working with @cracked_black 
โœ… Solved 2 LeetCode questions
โœ… Started with Dynamic Programming
โœ… Made progress on my React project
Step by step ๐Ÿš€ #DSA #DynamicProgramming #React"
RiyanshiCh84858's tweet image. #Day 19 working with @cracked_black 
โœ… Solved 2 LeetCode questions
โœ… Started with Dynamic Programming
โœ… Made progress on my React project
Step by step ๐Ÿš€ #DSA #DynamicProgramming #React"
RiyanshiCh84858's tweet image. #Day 19 working with @cracked_black 
โœ… Solved 2 LeetCode questions
โœ… Started with Dynamic Programming
โœ… Made progress on my React project
Step by step ๐Ÿš€ #DSA #DynamicProgramming #React"

#DynamicProgramming. started today learn 3 approaches to tackle after recursion m1->top to down approach m2->tabulation OR down to UP approach m3->Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)

ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1->top to down approach
m2->tabulation OR down to UP approach
m3->Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)
ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1->top to down approach
m2->tabulation OR down to UP approach
m3->Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)
ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1->top to down approach
m2->tabulation OR down to UP approach
m3->Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)
ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1->top to down approach
m2->tabulation OR down to UP approach
m3->Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)

๐Ÿš€ Day 142: Edit Distance Classic DP on Strings problem ๐Ÿ’ก โœ”๏ธ Allowed operations: Insert, Delete, Replace #DynamicProgramming #Strings #EditDistance #gfg160 #100DaysOfCode #geekstreak2025 @geeksforgeeks

YojitKataria's tweet image. ๐Ÿš€ Day 142: Edit Distance
Classic DP on Strings problem ๐Ÿ’ก
โœ”๏ธ Allowed operations: Insert, Delete, Replace
#DynamicProgramming #Strings #EditDistance #gfg160 #100DaysOfCode #geekstreak2025
@geeksforgeeks

Leetcode 300. Longest Increasing Subsequence 1๏ธโƒฃ Naive recursion: take/skip - exponential 2๏ธโƒฃ Add "last chosen index" - valid subsequences 3๏ธโƒฃ Memoize (ind,last+1) Brute -> State -> DP #LearnInPublic #100DaysOfCode #DynamicProgramming #LeetCode

SainiAyush55396's tweet image. Leetcode 300. Longest Increasing Subsequence

1๏ธโƒฃ Naive recursion: take/skip - exponential
2๏ธโƒฃ Add "last chosen index" - valid subsequences
3๏ธโƒฃ Memoize (ind,last+1) 

Brute -> State -> DP 
#LearnInPublic #100DaysOfCode #DynamicProgramming #LeetCode

Leetcode 1092. Shortest Common Supersequence Build LCS table to find overlaps 1๏ธโƒฃ If chars match - extend sequence 2๏ธโƒฃ If not - take max from left/top 3๏ธโƒฃ Backtrack through DP table to build final supersequence #DynamicProgramming #LearnInPublic #LeetCode

SainiAyush55396's tweet image. Leetcode 1092. Shortest Common Supersequence 

Build LCS table to find overlaps
1๏ธโƒฃ If chars match - extend sequence
2๏ธโƒฃ If not - take max from left/top
3๏ธโƒฃ Backtrack through DP table to build final supersequence

#DynamicProgramming #LearnInPublic #LeetCode

#Day83 Solved Coin Change II ๐Ÿ’ฐusing Tabulation DP ๐Ÿ”นTransition: โ€ƒif coins[i-1] <= j: dp[i][j] = dp[i][j - coins[i-1]] + dp[i-1][j] โ€ƒelse โ†’ exclude: dp[i][j] = dp[i-1][j] Pattern: Count of subsets with repetition allowed #DynamicProgramming #LeetCode #100DaysOfCode #DSA #tech

singh_jayraj_05's tweet image. #Day83
Solved Coin Change II ๐Ÿ’ฐusing Tabulation DP

๐Ÿ”นTransition:
โ€ƒif coins[i-1] &amp;lt;= j:
 dp[i][j] = dp[i][j - coins[i-1]] + dp[i-1][j]
โ€ƒelse โ†’ exclude: dp[i][j] = dp[i-1][j]

Pattern: Count of subsets with repetition allowed
#DynamicProgramming #LeetCode #100DaysOfCode #DSA #tech

Learning in public #Day35 1. DSA - 4 questions on DP on subsets and subsequences, Leetcode 2035(hard q). less productive day :( #DynamicProgramming

krizpy456's tweet image. Learning in public #Day35
1. DSA - 4 questions on DP on subsets and subsequences, Leetcode 2035(hard q).

less productive day :(
#DynamicProgramming

๐Ÿ’ป DSA Day 55 Today I learned Best Time to Buy & Sell Stock (DP on Stocks). Used Dynamic Programming (space optimized). Time Complexity: O(n) Space Complexity: O(1) ๐Ÿ‘‰ Key Idea: Keep track of the minimum price & maximize profit. #100DaysOfCode #DSA #DynamicProgramming

OfflineWaliSoul's tweet image. ๐Ÿ’ป DSA Day 55
Today I learned Best Time to Buy &amp;amp; Sell Stock (DP on Stocks).
Used Dynamic Programming (space optimized).
Time Complexity: O(n)
Space Complexity: O(1)
๐Ÿ‘‰ Key Idea: Keep track of the minimum price &amp;amp; maximize profit.
#100DaysOfCode #DSA #DynamicProgramming
OfflineWaliSoul's tweet image. ๐Ÿ’ป DSA Day 55
Today I learned Best Time to Buy &amp;amp; Sell Stock (DP on Stocks).
Used Dynamic Programming (space optimized).
Time Complexity: O(n)
Space Complexity: O(1)
๐Ÿ‘‰ Key Idea: Keep track of the minimum price &amp;amp; maximize profit.
#100DaysOfCode #DSA #DynamicProgramming

๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)! ๐ŸŽฏ Up Next: โžก๏ธ DP on MCM (Matrix Chain Multiplication)! โžก๏ธ DP on Squares! #StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney

Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney
Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney
Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney
Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney

๐Ÿ”บDay 56/100 DSA Solved Triangle Minimum Path Sum using bottom-up DP. Pick the smaller of the two paths below at each step โ†’ final answer at the top! ๐Ÿ’ก #100DaysOfCode #DSA #DynamicProgramming

Khushii__19's tweet image. ๐Ÿ”บDay 56/100 DSA
Solved Triangle Minimum Path Sum using bottom-up DP.
Pick the smaller of the two paths below at each step โ†’ final answer at the top! ๐Ÿ’ก
#100DaysOfCode #DSA #DynamicProgramming

๐Ÿš€ Day 138: Matrix Chain Multiplication Solved using DP + Optimal Parenthesization ๐Ÿ’ก โœ”๏ธ Recurrence: dp[i][j] = min(dp[i][k] + dp[k+1][j] + arr[i-1]*arr[k]*arr[j]) โฑ๏ธ O(nยณ) time, O(nยฒ) space #DynamicProgramming #MCM #gfg160 #100DaysOfCode #geekstreak2025 @geeksforgeeks

YojitKataria's tweet image. ๐Ÿš€ Day 138: Matrix Chain Multiplication
Solved using DP + Optimal Parenthesization ๐Ÿ’ก
โœ”๏ธ Recurrence: dp[i][j] = min(dp[i][k] + dp[k+1][j] + arr[i-1]*arr[k]*arr[j])
โฑ๏ธ O(nยณ) time, O(nยฒ) space
#DynamicProgramming #MCM #gfg160 #100DaysOfCode #geekstreak2025
@geeksforgeeks
YojitKataria's tweet image. ๐Ÿš€ Day 138: Matrix Chain Multiplication
Solved using DP + Optimal Parenthesization ๐Ÿ’ก
โœ”๏ธ Recurrence: dp[i][j] = min(dp[i][k] + dp[k+1][j] + arr[i-1]*arr[k]*arr[j])
โฑ๏ธ O(nยณ) time, O(nยฒ) space
#DynamicProgramming #MCM #gfg160 #100DaysOfCode #geekstreak2025
@geeksforgeeks

๐Ÿงต Day 134: Print All LCS & Longest String Chain โœ”๏ธ Print All LCS โ€“ backtrack from DP table to generate every sequence โœ”๏ธ Longest String Chain โ€“ sort by length, DP on word transformations #DynamicProgramming #Strings #gfg160 #100DaysOfCode #geekstreak2025 @geeksforgeeks

YojitKataria's tweet image. ๐Ÿงต Day 134: Print All LCS &amp;amp; Longest String Chain
โœ”๏ธ Print All LCS โ€“ backtrack from DP table to generate every sequence
โœ”๏ธ Longest String Chain โ€“ sort by length, DP on word transformations
#DynamicProgramming #Strings #gfg160 #100DaysOfCode #geekstreak2025
@geeksforgeeks
YojitKataria's tweet image. ๐Ÿงต Day 134: Print All LCS &amp;amp; Longest String Chain
โœ”๏ธ Print All LCS โ€“ backtrack from DP table to generate every sequence
โœ”๏ธ Longest String Chain โ€“ sort by length, DP on word transformations
#DynamicProgramming #Strings #gfg160 #100DaysOfCode #geekstreak2025
@geeksforgeeks
YojitKataria's tweet image. ๐Ÿงต Day 134: Print All LCS &amp;amp; Longest String Chain
โœ”๏ธ Print All LCS โ€“ backtrack from DP table to generate every sequence
โœ”๏ธ Longest String Chain โ€“ sort by length, DP on word transformations
#DynamicProgramming #Strings #gfg160 #100DaysOfCode #geekstreak2025
@geeksforgeeks

Two paths, one problem. ๐Ÿ’ง A greedy stack that flows like water. ๐Ÿ“Š A DP table built as an architecture. Both chase the same cost function, but reveal different kinds of beauty in algorithm design. #algorithms #DynamicProgramming #CompetitiveProgramming

HaochengLin2327's tweet image. Two paths, one problem.

๐Ÿ’ง A greedy stack that flows like water.
๐Ÿ“Š A DP table built as an architecture.

Both chase the same cost function, but reveal different kinds of beauty in algorithm design.

#algorithms #DynamicProgramming #CompetitiveProgramming

Pulling an all-nighter ๐ŸŒ™ Started with DP but decided to brush up recursion first ๐Ÿ” #Coding #Recursion #DynamicProgramming #AllNighter #DevLife

gvegeta944's tweet image. Pulling an all-nighter ๐ŸŒ™  
Started with DP but decided to brush up recursion first ๐Ÿ”  
#Coding #Recursion #DynamicProgramming #AllNighter #DevLife

Day 97 | Sigma 7.0 | #100DaysOfCode Covered more DP gems ๐Ÿ’Ž ๐Ÿ”น MCM (Memoization & Tabulation) ๐Ÿ”น Minimum Partitioning ๐Ÿ”น Minimum Array Jumps Bit by bit, mastering Dynamic Programming ๐Ÿ’ช Thanks @ShradhaKhapra_ Maโ€™am & @ApnacollegeX ๐Ÿ™ #DSA #DynamicProgramming #ShradhaKhapra #DP

BishwajitG03's tweet image. Day 97 | Sigma 7.0 | #100DaysOfCode
Covered more DP gems ๐Ÿ’Ž
๐Ÿ”น MCM (Memoization &amp;amp; Tabulation)
๐Ÿ”น Minimum Partitioning
๐Ÿ”น Minimum Array Jumps
Bit by bit, mastering Dynamic Programming ๐Ÿ’ช
Thanks @ShradhaKhapra_ Maโ€™am &amp;amp; @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ShradhaKhapra #DP
BishwajitG03's tweet image. Day 97 | Sigma 7.0 | #100DaysOfCode
Covered more DP gems ๐Ÿ’Ž
๐Ÿ”น MCM (Memoization &amp;amp; Tabulation)
๐Ÿ”น Minimum Partitioning
๐Ÿ”น Minimum Array Jumps
Bit by bit, mastering Dynamic Programming ๐Ÿ’ช
Thanks @ShradhaKhapra_ Maโ€™am &amp;amp; @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ShradhaKhapra #DP

๐Ÿš€ Day 77 of my #100DaysOfDSA Today I practiced: โœ… Balanced Parentheses combinations ๐Ÿงฉ โœ… Minimum Partitioning ๐Ÿ”ข โœ… Minimum Partitioning (Zero Difference) โš–๏ธ โœ… Tribonacci Series ๐Ÿ”บ Slowly mastering DP one problem at a time ๐Ÿ’ช #DynamicProgramming #CodingJourney #DSA

sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA
sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA
sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA
sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA

Opinion : Learn DP before Graphs. DP teaches subproblem thinkingโ€”Graphs are just those subproblems connected. Master the logic, not the library. ๐Ÿ’ก #DSA #DynamicProgramming #Graphs #TechTwitter


Day 76 of my DSA journey ๐Ÿ’ป Learned dynamic programming problems: ๐Ÿ”น Longest Common Substring ๐Ÿ”น Longest Increasing Subsequence ๐Ÿ”น Wildcard Matching ๐Ÿ”น String Conversion ๐Ÿ”น Edit Distance Each problem deepened my DP understanding! #100DaysOfCode #DSA #DynamicProgramming

sauravsmehta143's tweet image. Day 76 of my DSA journey ๐Ÿ’ป
Learned dynamic programming problems:
๐Ÿ”น Longest Common Substring
๐Ÿ”น Longest Increasing Subsequence
๐Ÿ”น Wildcard Matching
๐Ÿ”น String Conversion
๐Ÿ”น Edit Distance
Each problem deepened my DP understanding! #100DaysOfCode #DSA #DynamicProgramming
sauravsmehta143's tweet image. Day 76 of my DSA journey ๐Ÿ’ป
Learned dynamic programming problems:
๐Ÿ”น Longest Common Substring
๐Ÿ”น Longest Increasing Subsequence
๐Ÿ”น Wildcard Matching
๐Ÿ”น String Conversion
๐Ÿ”น Edit Distance
Each problem deepened my DP understanding! #100DaysOfCode #DSA #DynamicProgramming
sauravsmehta143's tweet image. Day 76 of my DSA journey ๐Ÿ’ป
Learned dynamic programming problems:
๐Ÿ”น Longest Common Substring
๐Ÿ”น Longest Increasing Subsequence
๐Ÿ”น Wildcard Matching
๐Ÿ”น String Conversion
๐Ÿ”น Edit Distance
Each problem deepened my DP understanding! #100DaysOfCode #DSA #DynamicProgramming
sauravsmehta143's tweet image. Day 76 of my DSA journey ๐Ÿ’ป
Learned dynamic programming problems:
๐Ÿ”น Longest Common Substring
๐Ÿ”น Longest Increasing Subsequence
๐Ÿ”น Wildcard Matching
๐Ÿ”น String Conversion
๐Ÿ”น Edit Distance
Each problem deepened my DP understanding! #100DaysOfCode #DSA #DynamicProgramming

๐Ÿง  Day 1 of learning Dynamic Programming (DP) in C++ begins today! I already know recursion now itโ€™s time to learn how to remember solutions instead of repeating them. Letโ€™s turn brute force into brilliance ๐Ÿš€ #100DaysOfCode #DynamicProgramming #Cplusplus


โšก Day 29 of #100DaysOfCode Solved: Maximum Product Subarray ๐Ÿ’ฅ Tackled the challenge of handling negative numbers by tracking both max and min products dynamically. ๐Ÿ’ก Lesson: Dynamic thinking helps handle edge cases smoothly. #LeetCode #DynamicProgramming #Arrays #100DaysOfCode

aditya206gupta's tweet image. โšก Day 29 of #100DaysOfCode
Solved: Maximum Product Subarray
๐Ÿ’ฅ Tackled the challenge of handling negative numbers by tracking both max and min products dynamically.
๐Ÿ’ก Lesson: Dynamic thinking helps handle edge cases smoothly.
#LeetCode #DynamicProgramming #Arrays #100DaysOfCode

Day 88โ€“92 | Sigma 7.0 | #100DaysOfCode Learned: ๐Ÿ”น Rod Cutting ๐Ÿ”น LCS (All 3 Approaches) ๐Ÿ”น Longest Common Substring ๐Ÿ”น LIS ๐Ÿ”น Edit Distance Thanks @ShradhaKhapra_ Maโ€™am & @ApnacollegeX ๐Ÿ™ #DSA #DynamicProgramming #ApnaCollege #ShradhaKhapra #CodingJourney

BishwajitG03's tweet image. Day 88โ€“92 | Sigma 7.0 | #100DaysOfCode
Learned:
๐Ÿ”น Rod Cutting
๐Ÿ”น LCS (All 3 Approaches)
๐Ÿ”น Longest Common Substring
๐Ÿ”น LIS
๐Ÿ”น Edit Distance
Thanks @ShradhaKhapra_ Maโ€™am &amp;amp; @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ApnaCollege #ShradhaKhapra #CodingJourney
BishwajitG03's tweet image. Day 88โ€“92 | Sigma 7.0 | #100DaysOfCode
Learned:
๐Ÿ”น Rod Cutting
๐Ÿ”น LCS (All 3 Approaches)
๐Ÿ”น Longest Common Substring
๐Ÿ”น LIS
๐Ÿ”น Edit Distance
Thanks @ShradhaKhapra_ Maโ€™am &amp;amp; @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ApnaCollege #ShradhaKhapra #CodingJourney

Day 97 | Sigma 7.0 | #100DaysOfCode Covered more DP gems ๐Ÿ’Ž ๐Ÿ”น MCM (Memoization & Tabulation) ๐Ÿ”น Minimum Partitioning ๐Ÿ”น Minimum Array Jumps Bit by bit, mastering Dynamic Programming ๐Ÿ’ช Thanks @ShradhaKhapra_ Maโ€™am & @ApnacollegeX ๐Ÿ™ #DSA #DynamicProgramming #ShradhaKhapra #DP

BishwajitG03's tweet image. Day 97 | Sigma 7.0 | #100DaysOfCode
Covered more DP gems ๐Ÿ’Ž
๐Ÿ”น MCM (Memoization &amp;amp; Tabulation)
๐Ÿ”น Minimum Partitioning
๐Ÿ”น Minimum Array Jumps
Bit by bit, mastering Dynamic Programming ๐Ÿ’ช
Thanks @ShradhaKhapra_ Maโ€™am &amp;amp; @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ShradhaKhapra #DP
BishwajitG03's tweet image. Day 97 | Sigma 7.0 | #100DaysOfCode
Covered more DP gems ๐Ÿ’Ž
๐Ÿ”น MCM (Memoization &amp;amp; Tabulation)
๐Ÿ”น Minimum Partitioning
๐Ÿ”น Minimum Array Jumps
Bit by bit, mastering Dynamic Programming ๐Ÿ’ช
Thanks @ShradhaKhapra_ Maโ€™am &amp;amp; @ApnacollegeX ๐Ÿ™

#DSA #DynamicProgramming #ShradhaKhapra #DP

๐Ÿงฉ LeetCode 300: Longest Increasing Subsequence ๐Ÿ”‘ Idea โ†’ DP + Binary Search โšก Approach โ†’ Recursion + Memoization โ†’ Tabulation โ†’ O(n log n) ๐Ÿ’ก Learning โ†’ Optimizing step by step shows the true power of DP ๐Ÿš€ #LeetCode #DynamicProgramming #DSA #100DaysOfCode #ProblemSolving

Tabish_khan090's tweet image. ๐Ÿงฉ LeetCode 300: Longest Increasing Subsequence
๐Ÿ”‘ Idea โ†’ DP + Binary Search
โšก Approach โ†’ Recursion + Memoization โ†’ Tabulation โ†’ O(n log n)
๐Ÿ’ก Learning โ†’ Optimizing step by step shows the true power of DP ๐Ÿš€

#LeetCode #DynamicProgramming #DSA #100DaysOfCode #ProblemSolving

Print Longest Increasing Subsequence 1๏ธโƒฃ Build dp - length of LIS at each index 2๏ธโƒฃ Use hash - track predecessors to backtrack 3๏ธโƒฃ Find LIS end, trace back, reverse - actual subsequence #DynamicProgramming #100DaysOfCode #LearnInPublic #Coding #DSA

SainiAyush55396's tweet image. Print Longest Increasing Subsequence

1๏ธโƒฃ Build dp - length of LIS at each index
2๏ธโƒฃ Use hash - track predecessors to backtrack
3๏ธโƒฃ Find LIS end, trace back, reverse - actual subsequence 

#DynamicProgramming #100DaysOfCode #LearnInPublic #Coding #DSA

Pulling an all-nighter ๐ŸŒ™ Started with DP but decided to brush up recursion first ๐Ÿ” #Coding #Recursion #DynamicProgramming #AllNighter #DevLife

gvegeta944's tweet image. Pulling an all-nighter ๐ŸŒ™  
Started with DP but decided to brush up recursion first ๐Ÿ”  
#Coding #Recursion #DynamicProgramming #AllNighter #DevLife

๐Ÿงฉ LeetCode 1547: Minimum Cost to Cut a Stick ๐Ÿ”‘ Idea โ†’ Interval #DP + Divide & Conquer โšก Approach โ†’ Recursive splits + memoization ๐Ÿ’ก Learning โ†’ DP on partitions = optimal cuts + state reuse ๐Ÿš€ #LeetCode #DynamicProgramming #Algorithms #DSA #ProblemSolving #100DaysOfCode

Tabish_khan090's tweet image. ๐Ÿงฉ LeetCode 1547: Minimum Cost to Cut a Stick
๐Ÿ”‘ Idea โ†’ Interval #DP + Divide &amp;amp; Conquer
โšก Approach โ†’ Recursive splits + memoization
๐Ÿ’ก Learning โ†’ DP on partitions = optimal cuts + state reuse ๐Ÿš€

#LeetCode #DynamicProgramming #Algorithms #DSA #ProblemSolving #100DaysOfCode

#DynamicProgramming. started today learn 3 approaches to tackle after recursion m1->top to down approach m2->tabulation OR down to UP approach m3->Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)

ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1-&amp;gt;top to down approach
m2-&amp;gt;tabulation OR down to UP approach
m3-&amp;gt;Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)
ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1-&amp;gt;top to down approach
m2-&amp;gt;tabulation OR down to UP approach
m3-&amp;gt;Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)
ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1-&amp;gt;top to down approach
m2-&amp;gt;tabulation OR down to UP approach
m3-&amp;gt;Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)
ASHUTOSHKU93588's tweet image. #DynamicProgramming.
started today
learn 3 approaches to tackle after recursion
m1-&amp;gt;top to down approach
m2-&amp;gt;tabulation OR down to UP approach
m3-&amp;gt;Space Optimisation approach(m2 ka pattern dekho kuchh milega wahi m3 hai)

๐Ÿ”บDay 56/100 DSA Solved Triangle Minimum Path Sum using bottom-up DP. Pick the smaller of the two paths below at each step โ†’ final answer at the top! ๐Ÿ’ก #100DaysOfCode #DSA #DynamicProgramming

Khushii__19's tweet image. ๐Ÿ”บDay 56/100 DSA
Solved Triangle Minimum Path Sum using bottom-up DP.
Pick the smaller of the two paths below at each step โ†’ final answer at the top! ๐Ÿ’ก
#100DaysOfCode #DSA #DynamicProgramming

๐Ÿš€Day 28 of DSA Journey: Solved DP Question #DSA #CodingJourney #DynamicProgramming #100DaysOfCode Maximum sum of non-adjacent elements

SourajitSa42496's tweet image. ๐Ÿš€Day 28 of DSA Journey: Solved DP Question  #DSA #CodingJourney #DynamicProgramming #100DaysOfCode  
Maximum sum of non-adjacent elements

๐Ÿ’ป DSA Day 55 Today I learned Best Time to Buy & Sell Stock (DP on Stocks). Used Dynamic Programming (space optimized). Time Complexity: O(n) Space Complexity: O(1) ๐Ÿ‘‰ Key Idea: Keep track of the minimum price & maximize profit. #100DaysOfCode #DSA #DynamicProgramming

OfflineWaliSoul's tweet image. ๐Ÿ’ป DSA Day 55
Today I learned Best Time to Buy &amp;amp; Sell Stock (DP on Stocks).
Used Dynamic Programming (space optimized).
Time Complexity: O(n)
Space Complexity: O(1)
๐Ÿ‘‰ Key Idea: Keep track of the minimum price &amp;amp; maximize profit.
#100DaysOfCode #DSA #DynamicProgramming
OfflineWaliSoul's tweet image. ๐Ÿ’ป DSA Day 55
Today I learned Best Time to Buy &amp;amp; Sell Stock (DP on Stocks).
Used Dynamic Programming (space optimized).
Time Complexity: O(n)
Space Complexity: O(1)
๐Ÿ‘‰ Key Idea: Keep track of the minimum price &amp;amp; maximize profit.
#100DaysOfCode #DSA #DynamicProgramming

๐Ÿš€ Day 142: Edit Distance Classic DP on Strings problem ๐Ÿ’ก โœ”๏ธ Allowed operations: Insert, Delete, Replace #DynamicProgramming #Strings #EditDistance #gfg160 #100DaysOfCode #geekstreak2025 @geeksforgeeks

YojitKataria's tweet image. ๐Ÿš€ Day 142: Edit Distance
Classic DP on Strings problem ๐Ÿ’ก
โœ”๏ธ Allowed operations: Insert, Delete, Replace
#DynamicProgramming #Strings #EditDistance #gfg160 #100DaysOfCode #geekstreak2025
@geeksforgeeks

Day 63 of #100DaysOfCode ๐Ÿš€ Solved Minimum Score Triangulation of Polygon (LeetCode 1039). #LeetCode #DynamicProgramming #ProblemSolving

Anurags44798025's tweet image. Day 63 of #100DaysOfCode ๐Ÿš€

Solved Minimum Score Triangulation of Polygon (LeetCode 1039).
#LeetCode #DynamicProgramming #ProblemSolving

Leetcode 300. Longest Increasing Subsequence 1๏ธโƒฃ Naive recursion: take/skip - exponential 2๏ธโƒฃ Add "last chosen index" - valid subsequences 3๏ธโƒฃ Memoize (ind,last+1) Brute -> State -> DP #LearnInPublic #100DaysOfCode #DynamicProgramming #LeetCode

SainiAyush55396's tweet image. Leetcode 300. Longest Increasing Subsequence

1๏ธโƒฃ Naive recursion: take/skip - exponential
2๏ธโƒฃ Add &quot;last chosen index&quot; - valid subsequences
3๏ธโƒฃ Memoize (ind,last+1) 

Brute -&amp;gt; State -&amp;gt; DP 
#LearnInPublic #100DaysOfCode #DynamicProgramming #LeetCode

Leetcode 1092. Shortest Common Supersequence Build LCS table to find overlaps 1๏ธโƒฃ If chars match - extend sequence 2๏ธโƒฃ If not - take max from left/top 3๏ธโƒฃ Backtrack through DP table to build final supersequence #DynamicProgramming #LearnInPublic #LeetCode

SainiAyush55396's tweet image. Leetcode 1092. Shortest Common Supersequence 

Build LCS table to find overlaps
1๏ธโƒฃ If chars match - extend sequence
2๏ธโƒฃ If not - take max from left/top
3๏ธโƒฃ Backtrack through DP table to build final supersequence

#DynamicProgramming #LearnInPublic #LeetCode

๐Ÿš€ Day 77 of my #100DaysOfDSA Today I practiced: โœ… Balanced Parentheses combinations ๐Ÿงฉ โœ… Minimum Partitioning ๐Ÿ”ข โœ… Minimum Partitioning (Zero Difference) โš–๏ธ โœ… Tribonacci Series ๐Ÿ”บ Slowly mastering DP one problem at a time ๐Ÿ’ช #DynamicProgramming #CodingJourney #DSA

sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA
sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA
sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA
sauravsmehta143's tweet image. ๐Ÿš€ Day 77 of my #100DaysOfDSA
Today I practiced:
โœ… Balanced Parentheses combinations ๐Ÿงฉ
โœ… Minimum Partitioning ๐Ÿ”ข
โœ… Minimum Partitioning (Zero Difference) โš–๏ธ
โœ… Tribonacci Series ๐Ÿ”บ
Slowly mastering DP one problem at a time ๐Ÿ’ช
#DynamicProgramming #CodingJourney #DSA

๐Ÿš€Day 27 of DSA Journey: Solved DP Question #DSA #CodingJourney #DynamicProgramming #100DaysOfCode Frog Jump

SourajitSa42496's tweet image. ๐Ÿš€Day 27 of DSA Journey: Solved DP Question  #DSA #CodingJourney #DynamicProgramming #100DaysOfCode 
Frog Jump

๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)! ๐ŸŽฏ Up Next: โžก๏ธ DP on MCM (Matrix Chain Multiplication)! โžก๏ธ DP on Squares! #StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney

Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney
Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney
Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney
Prajwald012's tweet image. ๐Ÿ“˜ Wrapped up with the 7th Dynamic Programming pattern โ€” DP on LIS (Longest Increasing Subsequence)!

๐ŸŽฏ Up Next:
โžก๏ธ DP on MCM (Matrix Chain Multiplication)!
โžก๏ธ DP on Squares!

#StriversA2ZDSASheet #100DaysOfCode #DynamicProgramming #DSA #CodingJourney

๐Ÿงต Day 264 of #geekstreak2025 โœ… GFG POTD: Unique Paths in a Grid ๐Ÿง  Used classic DP approach โ€” bottom-up tabulation to count ways from (0,0) to (n-1,m-1). Each cell = sum of top & left paths Efficient and elegant! ๐Ÿ” #dsa #dynamicprogramming #grid #potd #gfg264

SumitKumar9128's tweet image. ๐Ÿงต Day 264 of #geekstreak2025
โœ… GFG POTD: Unique Paths in a Grid
๐Ÿง  Used classic DP approach โ€” bottom-up tabulation to count ways from (0,0) to (n-1,m-1).
Each cell = sum of top &amp;amp; left paths 
Efficient and elegant!

๐Ÿ” #dsa #dynamicprogramming #grid #potd #gfg264

#Day83 Solved Coin Change II ๐Ÿ’ฐusing Tabulation DP ๐Ÿ”นTransition: โ€ƒif coins[i-1] <= j: dp[i][j] = dp[i][j - coins[i-1]] + dp[i-1][j] โ€ƒelse โ†’ exclude: dp[i][j] = dp[i-1][j] Pattern: Count of subsets with repetition allowed #DynamicProgramming #LeetCode #100DaysOfCode #DSA #tech

singh_jayraj_05's tweet image. #Day83
Solved Coin Change II ๐Ÿ’ฐusing Tabulation DP

๐Ÿ”นTransition:
โ€ƒif coins[i-1] &amp;lt;= j:
 dp[i][j] = dp[i][j - coins[i-1]] + dp[i-1][j]
โ€ƒelse โ†’ exclude: dp[i][j] = dp[i-1][j]

Pattern: Count of subsets with repetition allowed
#DynamicProgramming #LeetCode #100DaysOfCode #DSA #tech

๐Ÿš€ย Day 383 of Codeย ๐Ÿš€ Solved: โœ…ย 2787. Ways to Express an Integer as Sum of Powers #Day383 #LeetCode #DynamicProgramming #Math #Combinatorics #DSA #ProblemSolving #CodingChallenge #Algorithm #DataStructures #100DaysOfCode

Mohd_Saqib_'s tweet image. ๐Ÿš€ย Day 383 of Codeย ๐Ÿš€

Solved:

โœ…ย 2787. Ways to Express an Integer as Sum of Powers

#Day383 #LeetCode #DynamicProgramming #Math #Combinatorics #DSA #ProblemSolving #CodingChallenge #Algorithm #DataStructures #100DaysOfCode

Loading...

Something went wrong.


Something went wrong.


United States Trends