Annish Sen
Annish Sen @ANNISH_SEN ·
Daily DSA | Day 59 | LeetCode150 Solved: Merge Two Sorted Lists (LC 21) Idea: Traverse both lists and compare nodes, attaching the smaller one to the result list. Continue until one list ends, then append the remaining nodes. #LeetCode #LeetCode150 #DSA #CPP #Algorithms
4
187
Annish Sen
Annish Sen @ANNISH_SEN ·
Daily DSA | Day 51 | LeetCode150 Solved: Minimum Number of Arrows to Burst Balloons (LC 452) Idea: Sort balloons by start position and track the current overlapping end. If the next balloon overlaps, update the minimum end; otherwise, shoot a new arrow. #LeetCode #LeetCode150
4
192