검색 결과: "#Dynamicprogramming"

20 개 결과
Kosar bibi
Kosar bibi@KosarBibi639·
DAY 104 Problem: LeetCode 2463 (Hard) Assign robots to factories with capacity limits to minimize total distance. Sort both, DP: dp[i] = min cost for i robots. O(n * sum(limits)) ≤ O(n^2) passes n≤100. #LeetCode #DynamicProgramming #Coding
Kosar bibi tweet mediaKosar bibi tweet mediaKosar bibi tweet media
English
0
0
2
8
Inflictt
Inflictt@Saksham1172975·
Day 105/365🚀 Completed the core 0/1 Knapsack foundation today: • Recursive approach • Memoization • Top-down & Bottom up Dp - tabulation • Subset Sum • Problem identification Solved a question after the playlist to lock in the concepts💯 #DSA #LeetCode #DynamicProgramming
English
0
0
1
8
Kosar bibi
Kosar bibi@KosarBibi639·
DAY 102 Problem: LeetCode 1320 (Hard) Min total distance to type a word with 2 fingers on a 5x6 keyboard. DP state: (index, other finger pos) → 27 states. n≤300, O(n*27^2) works. #LeetCode #DynamicProgramming #Coding
Kosar bibi tweet mediaKosar bibi tweet mediaKosar bibi tweet media
English
0
0
2
14
Vivek kumar Verma
Vivek kumar Verma@vivekvermacse·
Day 33 of #100DaysOfCode 🚀 Solved LeetCode 198 & 213 (House Robber series). Practiced recursion → memoization → optimized DP and learned to handle circular cases by splitting into linear ones. Key takeaway: focus on states & transitions. #DSA #DynamicProgramming #LeetCode
Vivek kumar Verma tweet media
English
0
0
0
8
Vedant
Vedant@vedant_for7·
First in my bloodline grinding "Best Time to Buy and Sell Stock II", still clueless after endless dry runs, all while AI might make DSA irrelevant 🤸‍♂️🥀😭 #DynamicProgramming #imdone
English
0
0
1
26
Om Sonar
Om Sonar@ErOmsonar·
Started learning Dynamic Programming 🚀 Explored Fibonacci using Memoization (recursion) & Tabulation (loops), and applied the same logic to solve Climbing Stairs (LeetCode #70) 🪜 #DSA #DynamicProgramming #LeetCode
Om Sonar tweet mediaOm Sonar tweet mediaOm Sonar tweet media
English
0
0
0
9
Ankur
Ankur@Ankur04442038·
Day 75 | DSA Problem: Longest Common Subsequence • Find LCS of two strings • DP: dp[i][j]=1+dp[i-1][j-1] if match, else max(dp[i-1][j],dp[i][j-1]) • Time: O(m×n), Space: O(m×n) #Java #Leetcode #DynamicProgramming
Ankur tweet media
English
0
0
0
15