Arama Sonuçları: "#GreedyAlgorithm"

20 sonuç
Prachi Garg
Prachi Garg@PrachiGarg001·
🚀 Today I learned the Jump Game problem 💡 Idea: Track the maximum reachable index while traversing the array If current index > maxReach → we get stuck ❌ Else keep updating: maxReach = max(maxReach, i + nums[i]) ⚡ TC: O(n) 📦 SC: O(1) #DSA #GreedyAlgorithm #LeetCode
Prachi Garg tweet media
English
0
0
0
2
Azad Kumar
Azad Kumar@AzadKumar161440·
Day 31 – Task Scheduler Completed the Task Scheduler problem as part of the 100 Days Challenge with Rohit Negi and Aditya Tandon. ✅ Key takeaway: Proper scheduling reduces idle slots and improves performance. #Day31 #GreedyAlgorithm #100DaysChallenge #CodingJourney
Azad Kumar tweet mediaAzad Kumar tweet mediaAzad Kumar tweet mediaAzad Kumar tweet media
English
0
0
0
59
Azad Kumar
Azad Kumar@AzadKumar161440·
Day – 25 🚀 Assign Mice to Holes ⛳ (Greedy Algorithm) with Rohit Negi Coder Army and Aditya Tandon Challenge: 100 Days of Coding 💻 → Understanding optimal matching → Minimizing maximum distance Consistency > Talent 🔥 #Day25 #GreedyAlgorithm #100DaysChallenge #CodingJourney
Azad Kumar tweet mediaAzad Kumar tweet mediaAzad Kumar tweet mediaAzad Kumar tweet media
English
0
0
0
178
Zaryab Zubair
Zaryab Zubair@Zaryab_005·
Day 130 of DSA Solved Non-Overlapping using a greedy approach 🔹 Sort intervals by end time 🔹 If an interval overlaps, remove the one ending later 🔹 This keeps maximum space for future intervals Simple idea, powerful logic. #DSA #LeetCode #GreedyAlgorithm #JavaScript
Zaryab Zubair tweet media
English
0
0
0
86
Akshat Gairola
Akshat Gairola@AkshatGair23428·
🚀 LeetCode Today: Non-Overlapping Intervals 🔹 Used Greedy Algorithm 🔹 Sorted by end time 🔹 Removed overlapping intervals keeping the one that ends earlier ⏰ 💡 Earlier finish = More space for future intervals! #LeetCode #GreedyAlgorithm #DSA #AkshatCodes
Akshat Gairola tweet media
English
0
0
0
30
Vishal Aditya
Vishal Aditya@humbihari_·
- Greedy friendly structure: intervals, deadlines, medians. When does Greedy fail: - When there is strong dependencies between choices -Negative weights, or benefits that can flip sign - Need to look ahead to avoid traps. #Java #GreedyAlgorithm
English
0
0
0
23
Vishal Aditya
Vishal Aditya@humbihari_·
- Greedy friendly structure: intervals, deadlines, medians. When does Greedy fail: - When there is strong dependencies between choices -Negative weights, or benefits that can flip sign - Need to look ahead to avoid traps. #Java #GreedyAlgorithm
English
0
0
0
15
Shagun Gupta
Shagun Gupta@shagungupta56·
Day 29/100 – Exploring Greedy Algorithms 🧩 Learnt how problems can be solved by taking the best choice at each step. “Keep moving forward with consistency 🌟” Every problem solved is a step closer to my goal🚀 #100DaysOfCode #DSA #GreedyAlgorithm
Shagun Gupta tweet media
English
0
0
0
60