面试场景
高频考察问题建模、边界条件与口头表达的清晰度。
常见误区
只背模板不解释为什么,容易在追问里失分。
练习策略
每轮练 3-5 题,固定复盘复杂度和可替代解法。
推荐练习顺序
天际线问题
The Skyline Problem requires calculating a city's silhouette using array manipulation and divide-and-conquer techniques …
完美矩形
Determine if given axis-aligned rectangles form a perfect cover using array scanning and hash-based corner counting tech…
矩形面积 II
The problem involves calculating the total area covered by multiple rectangles, ensuring overlap is counted only once.
区间列表的交集
This problem requires finding the intersection of two lists of intervals using a two-pointer technique with invariant tr…
包含每个查询的最小区间
Find the smallest interval containing each query efficiently using binary search.
分割正方形 II
Separate Squares II requires finding the minimum y-coordinate such that squares' areas are split evenly above and below …