1505. 最多K次相邻交换后的最小整数

Hard | String, Greedy, Binary Indexed Tree, Segment Tree

2026年4月29日 · 3 分钟

1568. 使岛屿分离的最少天数

Hard | Array, Depth-First Search, Breadth-First Search, Matrix, Strongly Connected Component

2026年4月29日 · 4 分钟

1579. 保持图可完全遍历的最多删除边数

Hard | Union-Find, Graph Theory

2026年4月29日 · 4 分钟

1595. 连接两组点的最小成本

Hard | Array, Dynamic Programming, Bit Manipulation, Matrix, Bitmask

2026年4月29日 · 4 分钟

1916. 蚁群建房间的方案数

Hard | Array, Math, Dynamic Programming, Tree, Depth-First Search, Graph Theory, Topological Sort, Combinatorics

2026年4月29日 · 4 分钟

2781. 最长有效子字符串的长度

Hard | Array, Hash Table, String, Sliding Window

2026年4月29日 · 3 分钟

2790. 递增长度的最大分组数量

Hard | Array, Math, Binary Search, Greedy, Sorting

2026年4月29日 · 3 分钟

2791. 统计可以形成回文的树中路径数目

Hard | Hash Table, Bit Manipulation, Tree, Depth-First Search

2026年4月29日 · 4 分钟

335. 路径交叉

Hard | Array, Math, Geometry

2026年4月29日 · 3 分钟

354. 俄罗斯套娃信封问题

Hard | Array, Binary Search, Dynamic Programming, Sorting

2026年4月29日 · 2 分钟