Search posts, tags, users, and pages
Abstract Algorithms
Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.
TLDR: Sort intervals by start time, then sweep left-to-right and merge any interval whose start ≤ the current running end. O(n log n) time, O(n) space. One pattern — three interview problems solved.
Markdown supported · ⌘↵ to post
No responses yet.