题库chevron_right难度题单chevron_right中等
按强度练题

中等难度题单

中等难度更适合拿来校准这一强度下的解题稳定性、复杂度表达和追问承接。我们保留最有用的训练说明,把大题库收进慢加载容器里,读起来更轻,也更适合长期刷。

database1,423 道题category8 个高频题型speed面试训练专题

训练摘要

本轮重点

强调模式识别、状态设计和复杂度平衡。

推荐节奏

每轮 3-4 题,固定复盘状态设计与复杂度权衡。

适合搭配

和双指针、滑动窗口、动态规划专题联练,迁移效率更高。

训练重点

强调模式识别、状态设计和复杂度平衡。

建议节奏

每轮 3-4 题,固定复盘状态设计与复杂度权衡。

搭配建议

和双指针、滑动窗口、动态规划专题联练,迁移效率更高。

题库

中等难度题库

这里不再直接把整页铺成长列表。你可以先按关键词快速找题,再按高频题型切入,题库会在容器内部继续滚动时慢慢续载。

慢加载训练题库

更适合高题量难度专题:先扫结构,再往下深挖。

hourglass_bottom容器内滚动续载
search
category题型聚焦

当前展示 24 / 1,423 道题目

每次续载 24 题
#题目难度
2

两数相加

Add Two Numbers requires careful linked-list pointer manipulation to sum digits while handling carries efficiently in in…

中等
3

无重复字符的最长子串

Find the length of the longest substring without repeating characters using a sliding window and hash map to track state…

中等
5

最长回文子串

Find the longest contiguous palindromic substring in a given string using dynamic programming and two-pointer expansion …

中等
6

Z 字形变换

Convert a string into a zigzag pattern across multiple rows and read it line by line efficiently for string manipulation…

中等
7

整数反转

Reverse Integer challenges you to invert the digits of a signed 32-bit integer, handling overflow and negative values ca…

中等
8

字符串转换整数 (atoi)

Convert a string to a 32-bit signed integer by carefully parsing characters, handling signs, and ignoring invalid traili…

中等
11

盛最多水的容器

Find two vertical lines that can form a container with the most water in a given array of heights.

中等
12

整数转罗马数字

Convert a given integer to its Roman numeral representation using hash table mapping and decimal place math operations e…

中等
15

三数之和

Given an integer array, return all unique triplets where the sum is zero using two-pointer scanning with careful duplica…

中等
16

最接近的三数之和

Find the sum of three integers in an array that is closest to a given target using two-pointer scanning.

中等
17

电话号码的字母组合

Generate all letter combinations a digit string can represent using backtracking with pruning, leveraging hash table map…

中等
18

四数之和

The 4Sum problem requires finding all unique quadruplets in an array that sum to a specific target value.

中等
19

删除链表的倒数第 N 个结点

Remove the nth node from the end of a linked list using a two-pointer approach to solve efficiently.

中等
22

括号生成

Generate Parentheses requires generating all valid combinations of parentheses with given pairs using backtracking and s…

中等
24

两两交换链表中的节点

Learn how to swap every adjacent linked-list pair by rewiring nodes safely without changing values or breaking the remai…

中等
29

两数相除

Solve Divide Two Integers by turning repeated subtraction into bit-shifted chunk subtraction with careful sign and overf…

中等
31

下一个排列

Next Permutation is a medium-difficulty problem focusing on generating the next lexicographically greater permutation of…

中等
33

搜索旋转排序数组

Find the index of a target in a rotated sorted array using a careful binary search that handles pivot shifts.

中等
34

在排序数组中查找元素的第一个和最后一个位置

Locate the first and last index of a target in a sorted array using binary search for precise O(log n) performance.

中等
36

有效的数独

Check if a 9x9 Sudoku board is valid by scanning rows, columns, and sub-boxes with hash lookups, ensuring no duplicates …

中等
38

外观数列

Count and Say requires building the nth sequence term by iteratively applying a run-length encoding on strings of digits…

中等
39

组合总和

Find all unique combinations of numbers from a distinct array that sum to a target using controlled backtracking search.

中等
40

组合总和 II

Find all unique combinations of numbers that sum to a target using backtracking with careful pruning to avoid duplicates…

中等
43

字符串相乘

Multiply Strings requires simulating integer multiplication using only string operations without direct numeric conversi…

中等

swap_vert在题库框内继续向下滚动,也会自动续载

按题型延伸训练

如果你已经知道薄弱点,可以直接跳进更具体的题型专题,继续做同一难度下的聚焦训练。

route

引导式练习路径

AI 会按你的当前水平推荐题目,并持续记录练习进度。

开始引导练习arrow_forward
LeetCode 中等难度题解