{"id":32790058,"url":"https://github.com/0voice/awesome-bigtech-algorithms","last_synced_at":"2025-11-05T11:03:05.090Z","repository":{"id":322404114,"uuid":"1088578616","full_name":"0voice/Awesome-BigTech-Algorithms","owner":"0voice","description":"2025精选：算法题库合集，涵盖大厂面试、校招笔试及LeetCode等热门平台经典题目。附解法、指南与资源，助你轻松拿下offer！","archived":false,"fork":false,"pushed_at":"2025-11-05T09:59:00.000Z","size":181,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-05T10:12:56.608Z","etag":null,"topics":["algorithms","awesome","awesome-list","coding-interview","data-structures","data-structures-and-algorithms","interview-preparation","leetcode"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0voice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-03T06:55:50.000Z","updated_at":"2025-11-05T09:59:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/0voice/Awesome-BigTech-Algorithms","commit_stats":null,"previous_names":["0voice/awesome-algorithm-resource","0voice/awesome-bigtech-algorithms"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/0voice/Awesome-BigTech-Algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0voice%2FAwesome-BigTech-Algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0voice%2FAwesome-BigTech-Algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0voice%2FAwesome-BigTech-Algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0voice%2FAwesome-BigTech-Algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0voice","download_url":"https://codeload.github.com/0voice/Awesome-BigTech-Algorithms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0voice%2FAwesome-BigTech-Algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282807274,"owners_count":26730415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-05T02:00:05.946Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","awesome","awesome-list","coding-interview","data-structures","data-structures-and-algorithms","interview-preparation","leetcode"],"created_at":"2025-11-05T11:01:29.169Z","updated_at":"2025-11-05T11:03:05.078Z","avatar_url":"https://github.com/0voice.png","language":null,"funding_links":[],"categories":["Other Lists"],"sub_categories":["TeX Lists"],"readme":"\u003ch1 align=\"center\"\u003e📁 2025年最新大厂算法题合集\u003c/h1\u003e \n本仓库是一个精选的算法题合集，专注于大厂面试、校招笔试和热门刷题平台的经典题目。\u003cbr\u003e  \n无论你是在校生准备秋招/春招，还是职场开发者冲刺offer，这里汇集了近几年top大厂的算法挑战，帮助你系统掌握数据结构与算法核心技能。\n\n## 🧭 快速导航\n[大厂算法题](#-大厂算法题)  \n[LeetCode改编题](LeetCode-Variants/README.md)  \n[刷题平台](#-刷题平台)  \n[资源说明](#-资源说明)  \n\n\n## 🧠 大厂算法题\n### 说明：\n- 本README题目均使用 **LeetCode原题名称+链接**，便于直接刷题；链接中标注「剑指Offer」的题目，对应 LeetCode LCR 变体题。\n- **刷题建议**：优先刷**LeetCode hot100**、**剑指offer**、本README中**频率为高的题目**，覆盖80%大厂考点。\n- **刷剑指Offer原题**：详见下方「剑指Offer刷题指南」。\n- **查看大厂改编真题**：可访问[LeetCode-Variants](LeetCode-Variants/README.md)，包含 LeetCode 原题变体（常见改动：增加业务场景）及大厂出题偏好。\n- **自行刷题**：参考下方[刷题平台](#-刷题平台)。\n\n### 剑指Offer刷题指南\n- [coding-interview](https://interview.doocs.org/coding-interview/)\n- [牛客网](https://www.nowcoder.com/exam/oj/ta?page=1\u0026tpId=13\u0026type=13)\n  \n### 大厂刷题导航\n- [字节](#字节跳动)  \n- [阿里](#阿里巴巴)  \n- [腾讯](#腾讯)  \n- [美团](#美团)  \n- [百度](#百度)  \n- [京东](#京东)  \n- [华为](#华为)  \n- [小米](#小米)\n\n\n### 字节跳动\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 有效的字母异位词 | 哈希表, 字符串 | 简单 | 中 | [LeetCode 242](https://leetcode.cn/problems/valid-anagram/) |\n| Fizz Buzz | 数学, 字符串 | 简单 | 低 | [LeetCode 412](https://leetcode.cn/problems/fizz-buzz/) |\n| 反转字符串 | 数组, 双指针 | 简单 | 低 | [LeetCode 344](https://leetcode.cn/problems/reverse-string/) |\n| 有效的括号 | 栈, 字符串 | 简单 | 高 | [LeetCode 20](https://leetcode.cn/problems/valid-parentheses/) |\n| 反转链表 | 链表, 递归 | 简单 | 高 | [LeetCode 206](https://leetcode.cn/problems/reverse-linked-list/) |\n| 合并两个有序链表 | 链表, 递归 | 简单 | 中 | [LeetCode 21](https://leetcode.cn/problems/merge-two-sorted-lists/) |\n| 移除元素 | 数组, 双指针 | 简单 | 中 | [LeetCode 27](https://leetcode.cn/problems/remove-element/) |\n| 买卖股票的最佳时机 | 数组, 动态规划 | 简单 | 高 | [LeetCode 121](https://leetcode.cn/problems/best-time-to-buy-and-sell-stock/) |\n| 整数反转 | 数学 | 简单 | 中 | [LeetCode 7](https://leetcode.cn/problems/reverse-integer/) |\n| 回文数 | 数学 | 简单 | 中 | [LeetCode 9](https://leetcode.cn/problems/palindrome-number/) |\n| 罗马数字转整数 | 哈希表, 字符串 | 简单 | 低 | [LeetCode 13](https://leetcode.cn/problems/roman-to-integer/) |\n| 存在重复元素 | 数组, 哈希表 | 简单 | 高 | [LeetCode 217](https://leetcode.cn/problems/contains-duplicate/) |\n| 寻找出现超过一半的数字 | 数组, 分治 | 简单 | 高 | [LeetCode 169](https://leetcode.cn/problems/majority-element/) |\n| 环形链表 | 链表, 双指针 | 简单 | 中 | [LeetCode 141](https://leetcode.cn/problems/linked-list-cycle/) |\n| 爬楼梯 | 动态规划 | 简单 | 高 | [LeetCode 70](https://leetcode.cn/problems/climbing-stairs/) |\n| 删除排序链表中的重复元素 | 链表 | 简单 | 低 | [LeetCode 83](https://leetcode.cn/problems/remove-duplicates-from-sorted-list/) |\n| 搜索二维矩阵 | 数组, 二分查找 | 中等 | 中 | [LeetCode 74](https://leetcode.cn/problems/search-a-2d-matrix/) |\n| 链表上的数字相加 | 链表, 数学 | 中等 | 高 | [LeetCode 2](https://leetcode.cn/problems/add-two-numbers/) |\n| 无重复字符的最长子串 | 哈希表, 字符串, 滑动窗口 | 中等 | 高 | [LeetCode 3](https://leetcode.cn/problems/longest-substring-without-repeating-characters/) |\n| 岛屿数量 | 深度优先搜索, 广度优先搜索, 并查集 | 中等 | 高 | [LeetCode 200](https://leetcode.cn/problems/number-of-islands/) |\n| 最大子数组和 | 数组, 分治, 动态规划 | 中等 | 高 | [LeetCode 53](https://leetcode.cn/problems/maximum-subarray/) |\n| 不同路径 | 动态规划 | 中等 | 中 | [LeetCode 62](https://leetcode.cn/problems/unique-paths/) |\n| 生成括号 | 回溯 | 中等 | 高 | [LeetCode 22](https://leetcode.cn/problems/generate-parentheses/) |\n| 删除链表的倒数第n个节点 | 链表, 双指针 | 中等 | 高 | [LeetCode 19](https://leetcode.cn/problems/remove-nth-node-from-end-of-list/) |\n| 电话号码的字母组合 | 回溯, 字符串 | 中等 | 中 | [LeetCode 17](https://leetcode.cn/problems/letter-combinations-of-a-phone-number/) |\n| 3Sum | 数组, 双指针 | 中等 | 高 | [LeetCode 15](https://leetcode.cn/problems/3sum/) |\n| 全排列 | 回溯 | 中等 | 高 | [LeetCode 46](https://leetcode.cn/problems/permutations/) |\n| 组合总和 | 回溯 | 中等 | 高 | [LeetCode 39](https://leetcode.cn/problems/combination-sum/) |\n| 字母异位词分组 | 数组, 哈希表, 字符串 | 中等 | 中 | [LeetCode 49](https://leetcode.cn/problems/group-anagrams/) |\n| 合并区间 | 数组, 排序 | 中等 | 高 | [LeetCode 56](https://leetcode.cn/problems/merge-intervals/) |\n| 子集 | 位运算, 回溯 | 中等 | 中 | [LeetCode 78](https://leetcode.cn/problems/subsets/) |\n| 单词搜索 | 数组, 回溯, 矩阵 | 中等 | 低 | [LeetCode 79](https://leetcode.cn/problems/word-search/) |\n| 验证二叉搜索树 | 树, 深度优先搜索 | 中等 | 中 | [LeetCode 98](https://leetcode.cn/problems/validate-binary-search-tree/) |\n| 根据前序和中序遍历构造二叉树 | 树, 数组, 哈希表, 分治 | 中等 | 中 | [LeetCode 105](https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal/) |\n| 最长连续序列 | 并查集, 数组, 哈希表 | 中等 | 高 | [LeetCode 128](https://leetcode.cn/problems/longest-consecutive-sequence/) |\n| 单词拆分 | 动态规划, 记忆化搜索 | 中等 | 中 | [LeetCode 139](https://leetcode.cn/problems/word-break/) |\n| 复原IP地址 | 字符串, 回溯 | 中等 | 中 | [LeetCode 93](https://leetcode.cn/problems/restore-ip-addresses/) |\n| LRU缓存机制 | 哈希表, 双向链表, 设计 | 中等 | 高 | [LeetCode 146](https://leetcode.cn/problems/lru-cache/) |\n| 有效的数独 | 数组, 哈希表, 回溯, 矩阵 | 中等 | 低 | [LeetCode 36](https://leetcode.cn/problems/valid-sudoku/) |\n| 两数之和 II - 输入有序数组 | 数组, 双指针 | 中等 | 中 | [LeetCode 167](https://leetcode.cn/problems/two-sum-ii-input-array-is-sorted/) |\n| 字符串转换整数 (atoi) | 字符串 | 中等 | 低 | [LeetCode 8](https://leetcode.cn/problems/string-to-integer-atoi/) |\n| 盛最多水的容器 | 数组, 双指针 | 中等 | 高 | [LeetCode 11](https://leetcode.cn/problems/container-with-most-water/) |\n| 长度最小的子数组 | 数组, 前缀和, 双指针 | 中等 | 中 | [LeetCode 209](https://leetcode.cn/problems/minimum-size-subarray-sum/) |\n| 下一个排列 | 数组 | 中等 | 中 | [LeetCode 31](https://leetcode.cn/problems/next-permutation/) |\n| 螺旋矩阵 | 数组, 矩阵 | 中等 | 低 | [LeetCode 54](https://leetcode.cn/problems/spiral-matrix/) |\n| 搜索旋转排序数组 | 数组, 二分查找 | 中等 | 高 | [LeetCode 33](https://leetcode.cn/problems/search-in-rotated-sorted-array/) |\n| 最小路径和 | 数组, 动态规划, 矩阵 | 中等 | 中 | [LeetCode 64](https://leetcode.cn/problems/minimum-path-sum/) |\n| 冗余连接 | 深度优先搜索, 广度优先搜索, 并查集, 图 | 中等 | 低 | [LeetCode 684](https://leetcode.cn/problems/redundant-connection/) |\n| 数组中的最长山脉 | 数组 | 中等 | 低 | [LeetCode 845](https://leetcode.cn/problems/longest-mountain-in-array/) |\n| 统计一个数组中好对子的数目 | 哈希表, 字符串, 计数 | 中等 | 低 | [LeetCode 1815](https://leetcode.cn/problems/count-nice-pairs-in-an-array/) |\n| 和为 K 的子数组 | 数组, 哈希表, 前缀和 | 中等 | 高 | [LeetCode 560](https://leetcode.cn/problems/subarray-sum-equals-k/) |\n| 最长回文子串 | 字符串, 动态规划 | 中等 | 高 | [LeetCode 5](https://leetcode.cn/problems/longest-palindromic-substring/) |\n| 二叉树层序遍历 | 树, 广度优先搜索, 二叉树 | 中等 | 中 | [LeetCode 102](https://leetcode.cn/problems/binary-tree-level-order-traversal/) |\n| 课程表 | 深度优先搜索, 广度优先搜索, 图, 拓扑排序 | 中等 | 中 | [LeetCode 207](https://leetcode.cn/problems/course-schedule/) |\n| 数组中的第K个最大元素 | 数组, 堆, 分治 | 中等 | 高 | [LeetCode 215](https://leetcode.cn/problems/kth-largest-element-in-an-array/) |\n| 除自身以外数组的乘积 | 数组, 前缀和 | 中等 | 高 | [LeetCode 238](https://leetcode.cn/problems/product-of-array-except-self/) |\n| 最长递增子序列 | 数组, 动态规划, 二分查找 | 中等 | 高 | [LeetCode 300](https://leetcode.cn/problems/longest-increasing-subsequence/) |\n| 分割等和子集 | 动态规划, 背包问题 | 中等 | 中 | [LeetCode 416](https://leetcode.cn/problems/partition-equal-subset-sum/) |\n| 编辑距离 | 动态规划 | 中等 | 中 | [LeetCode 72](https://leetcode.cn/problems/edit-distance/) |\n| 滑动窗口最大值 | 队列, 滑动窗口, 堆 | 困难 | 高 | [LeetCode 239](https://leetcode.cn/problems/sliding-window-maximum/) |\n| 按公因数计算最大组件大小 | 并查集, 数组, 哈希表, 数学 | 困难 | 低 | [LeetCode 952](https://leetcode.cn/problems/largest-component-size-by-common-factor/) |\n| 最大人工岛 | 深度优先搜索, 广度优先搜索, 矩阵 | 困难 | 低 | [LeetCode 827](https://leetcode.cn/problems/making-a-large-island/) |\n| 两个排序数组的中位数 | 数组, 二分查找, 分治 | 困难 | 高 | [LeetCode 4](https://leetcode.cn/problems/median-of-two-sorted-arrays/) |\n| 合并k个升序链表 | 链表, 分治, 堆, 优先队列 | 困难 | 高 | [LeetCode 23](https://leetcode.cn/problems/merge-k-sorted-lists/) |\n| 分割数组的最大值 | 数组, 二分查找, 动态规划 | 困难 | 中 | [LeetCode 410](https://leetcode.cn/problems/split-array-largest-sum/) |\n| K个一组翻转链表 | 链表, 递归 | 困难 | 高 | [LeetCode 25](https://leetcode.cn/problems/reverse-nodes-in-k-group/) |\n| 盈利计划 | 动态规划 | 困难 | 中 | [LeetCode 879](https://leetcode.cn/problems/profitable-schemes/) |\n| 规划兼职工作 | 数组, 二分查找, 动态规划, 排序 | 困难 | 中 | [LeetCode 1235](https://leetcode.cn/problems/maximum-profit-in-job-scheduling/) |\n| 接雨水 | 栈, 数组, 双指针, 动态规划, 单调栈 | 困难 | 高 | [LeetCode 42](https://leetcode.cn/problems/trapping-rain-water/) |\n| 最小覆盖子串 | 哈希表, 字符串, 滑动窗口 | 困难 | 高 | [LeetCode 76](https://leetcode.cn/problems/minimum-window-substring/) |\n| 柱状图中最大的矩形 | 数组, 栈, 单调栈 | 困难 | 高 | [LeetCode 84](https://leetcode.cn/problems/largest-rectangle-in-histogram/) |\n| 二叉树中的最大路径和 | 树, 深度优先搜索, 动态规划, 二叉树 | 困难 | 高 | [LeetCode 124](https://leetcode.cn/problems/binary-tree-maximum-path-sum/) |\n\n### 阿里巴巴\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 两数之和 | 数组、哈希表 | 简单 | 高 | [LeetCode 1](https://leetcode.cn/problems/two-sum/) |\n| 有效的括号 | 栈、字符串 | 简单 | 中 | [LeetCode 20](https://leetcode.cn/problems/valid-parentheses/) |\n| 反转链表 | 链表、递归 | 简单 | 高 | [LeetCode 206](https://leetcode.cn/problems/reverse-linked-list/) |\n| 爬楼梯 | 动态规划、记忆化搜索 | 简单 | 中 | [LeetCode 70](https://leetcode.cn/problems/climbing-stairs/) |\n| 买卖股票的最佳时机 | 数组、动态规划 | 简单 | 高 | [LeetCode 121](https://leetcode.cn/problems/best-time-to-buy-and-sell-stock/) |\n| 最大子数组和 | 数组、贪心 | 简单 | 高 | [LeetCode 53](https://leetcode.cn/problems/maximum-subarray/) |\n| 将有序数组转换为二叉搜索树 | 树、深度优先搜索 | 简单 | 中 | [LeetCode 108](https://leetcode.cn/problems/convert-sorted-array-to-binary-search-tree/) |\n| 二叉树的最小深度 | 树、深度优先搜索 | 简单 | 低 | [LeetCode 111](https://leetcode.cn/problems/minimum-depth-of-binary-tree/) |\n| 翻转二叉树 | 树、深度优先搜索 | 简单 | 高 | [LeetCode 226](https://leetcode.cn/problems/invert-binary-tree/) |\n| 二叉树的路径总和 | 树、深度优先搜索 | 简单 | 中 | [LeetCode 112](https://leetcode.cn/problems/path-sum/) |\n| 实现 strStr() | 字符串、滑动窗口 | 简单 | 低 | [LeetCode 28](https://leetcode.cn/problems/implement-strstr/) |\n| 搜索插入位置 | 数组、二分查找 | 简单 | 中 | [LeetCode 35](https://leetcode.cn/problems/search-insert-position/) |\n| 二叉树的最大深度 | 树、深度优先搜索 | 简单 | 中 | [LeetCode 104](https://leetcode.cn/problems/maximum-depth-of-binary-tree/) |\n| 第 k 个缺失的正整数 | 数组、数学 | 简单 | 低 | [LeetCode 1539](https://leetcode.cn/problems/kth-missing-positive-number/) |\n| 寻找比目标字母大的最小字母 | 数组、二分查找 | 简单 | 低 | [LeetCode 744](https://leetcode.cn/problems/find-smallest-letter-greater-than-target/) |\n| 无重复字符的最长子串 | 字符串、双指针 | 中等 | 高 | [LeetCode 3](https://leetcode.cn/problems/longest-substring-without-repeating-characters/) |\n| 岛屿数量 | 深度优先搜索、广度优先搜索 | 中等 | 中 | [LeetCode 200](https://leetcode.cn/problems/number-of-islands/) |\n| 课程表 | 深度优先搜索、广度优先搜索 | 中等 | 中 | [LeetCode 207](https://leetcode.cn/problems/course-schedule/) |\n| 零钱兑换 | 动态规划 | 中等 | 高 | [LeetCode 322](https://leetcode.cn/problems/coin-change/) |\n| 字符串解码 | 栈、递归 | 中等 | 中 | [LeetCode 394](https://leetcode.cn/problems/decode-string/) |\n| 字符串相加 | 字符串、数学 | 中等 | 低 | [LeetCode 415](https://leetcode.cn/problems/add-strings/) |\n| 找到字符串中所有字母异位词 | 哈希表、滑动窗口 | 中等 | 中 | [LeetCode 438](https://leetcode.cn/problems/find-all-anagrams-in-a-string/) |\n| 二叉树的直径 | 树、深度优先搜索 | 中等 | 中 | [LeetCode 543](https://leetcode.cn/problems/diameter-of-binary-tree/) |\n| 每日温度 | 栈、单调栈 | 中等 | 中 | [LeetCode 739](https://leetcode.cn/problems/daily-temperatures/) |\n| 划分字母区间 | 贪心、双指针 | 中等 | 低 | [LeetCode 763](https://leetcode.cn/problems/partition-labels/) |\n| 最接近原点的 K 个点 | 排序、堆 | 中等 | 低 | [LeetCode 973](https://leetcode.cn/problems/k-closest-points-to-origin/) |\n| 合并 K 个升序链表 | 链表、分治 | 中等 | 中 | [LeetCode 23](https://leetcode.cn/problems/merge-k-sorted-lists/) |\n| 最长有效括号 | 栈、动态规划 | 中等 | 中 | [LeetCode 32](https://leetcode.cn/problems/longest-valid-parentheses/) |\n| 跳跃游戏 | 贪心 | 中等 | 中 | [LeetCode 55](https://leetcode.cn/problems/jump-game/) |\n| 不同路径 | 动态规划 | 中等 | 中 | [LeetCode 62](https://leetcode.cn/problems/unique-paths/) |\n| 课程表 II | 深度优先搜索、广度优先搜索 | 中等 | 中 | [LeetCode 210](https://leetcode.cn/problems/course-schedule-ii/) |\n| 二叉树的最近公共祖先 | 树、深度优先搜索 | 中等 | 高 | [LeetCode 236](https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree/) |\n| 自定义排序字符串 | 字符串、贪心 | 中等 | 低 | [LeetCode 791](https://leetcode.cn/problems/custom-sort-string/) |\n| 三数之和 | 数组、双指针 | 中等 | 高 | [LeetCode 15](https://leetcode.cn/problems/3sum/) |\n| 寻找重复的子树 | 树、哈希表 | 中等 | 低 | [LeetCode 652](https://leetcode.cn/problems/find-duplicate-subtrees/) |\n| 验证二叉搜索树 | 树、深度优先搜索 | 中等 | 高 | [LeetCode 98](https://leetcode.cn/problems/validate-binary-search-tree/) |\n| 从前序与中序遍历序列构造二叉树 | 树、数组 | 中等 | 中 | [LeetCode 105](https://leetcode.cn/problems/construct-binary-tree-from-preorder-and-inorder-traversal/) |\n| 从中序与后序遍历序列构造二叉树 | 树、数组 | 中等 | 中 | [LeetCode 106](https://leetcode.cn/problems/construct-binary-tree-from-inorder-and-postorder-traversal/) |\n| 二叉搜索树中的第K小元素 | 树、深度优先搜索 | 中等 | 中 | [LeetCode 230](https://leetcode.cn/problems/kth-smallest-element-in-a-bst/) |\n| 路径总和 II | 树、深度优先搜索 | 中等 | 中 | [LeetCode 113](https://leetcode.cn/problems/path-sum-ii/) |\n| 二叉树的右视图 | 树、深度优先搜索 | 中等 | 中 | [LeetCode 199](https://leetcode.cn/problems/binary-tree-right-side-view/) |\n| 分割等和子集 | DP、子集和 | 中等 | 高 | [LeetCode 416](https://leetcode.cn/problems/partition-equal-subset-sum/) |\n| 我能赢吗 | DP、状态压缩 | 中等 | 低 | [LeetCode 464](https://leetcode.cn/problems/can-i-win/) |\n| 环形子数组最大和 | 概率、DP | 中等 | 低 | [LeetCode 918](https://leetcode.cn/problems/maximum-sum-circular-subarray/) |\n| 石子游戏 II | 游戏论、贪心、数组 | 中等 | 低 | [LeetCode 1140](https://leetcode.cn/problems/stone-game-ii/) |\n| 计数质数 | 模拟、素数筛 | 中等 | 中 | [LeetCode 204](https://leetcode.cn/problems/count-primes/) |\n| 打家劫舍 III | DP、树状结构 | 中等 | 低 | [LeetCode 337](https://leetcode.cn/problems/house-robber-iii/) |\n| 二叉搜索树到更大和树 | 树、深度优先搜索 | 中等 | 低 | [LeetCode 538](https://leetcode.cn/problems/convert-bst-to-greater-tree/) |\n| 克隆图 | 深度优先搜索、广度优先搜索 | 中等 | 中 | [LeetCode 133](https://leetcode.cn/problems/clone-graph/) |\n| 太平洋大西洋水流问题 | 深度优先搜索 | 中等 | 低 | [LeetCode 417](https://leetcode.cn/problems/pacific-atlantic-water-flow/) |\n| LRU 缓存机制 | 设计、哈希表 | 中等 | 高 | [LeetCode 146](https://leetcode.cn/problems/lru-cache/) |\n| 最小栈 | 栈、设计 | 中等 | 高 | [LeetCode 155](https://leetcode.cn/problems/min-stack/) |\n| 下一个排列 | 数组、双指针 | 中等 | 高 | [LeetCode 31](https://leetcode.cn/problems/next-permutation/) |\n| 组合总和 II | 数组、回溯 | 中等 | 中 | [LeetCode 40](https://leetcode.cn/problems/combination-sum-ii/) |\n| 找二叉树左下角的值 | 树、深度优先搜索、广度优先搜索 | 中等 | 低 | [LeetCode 513](https://leetcode.cn/problems/find-bottom-left-tree-value/) |\n| 最长重复子数组 | 数组、哈希表、字符串匹配 | 中等 | 低 | [LeetCode 718](https://leetcode.cn/problems/maximum-length-of-repeated-subarray/) |\n| 最接近的三数之和 | 数组、双指针 | 中等 | 中 | [LeetCode 16](https://leetcode.cn/problems/3sum-closest/) |\n| 电话号码的字母组合 | 回溯、字符串 | 中等 | 中 | [LeetCode 17](https://leetcode.cn/problems/letter-combinations-of-a-phone-number/) |\n| 括号生成 | 回溯 | 中等 | 高 | [LeetCode 22](https://leetcode.cn/problems/generate-parentheses/) |\n| 在排序数组中查找元素的第一个和最后一个位置 | 数组、二分查找 | 中等 | 中 | [LeetCode 34](https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/) |\n| 跳跃游戏 II | 数组、贪心 | 中等 | 中 | [LeetCode 45](https://leetcode.cn/problems/jump-game-ii/) |\n| 字母异位词分组 | 数组、哈希表、字符串 | 中等 | 高 | [LeetCode 49](https://leetcode.cn/problems/group-anagrams/) |\n| 合并区间 | 数组、排序 | 中等 | 高 | [LeetCode 56](https://leetcode.cn/problems/merge-intervals/) |\n| 子集 | 位运算、回溯 | 中等 | 中 | [LeetCode 78](https://leetcode.cn/problems/subsets/) |\n| 二叉树层序遍历 | 树、广度优先搜索 | 中等 | 高 | [LeetCode 102](https://leetcode.cn/problems/binary-tree-level-order-traversal/) |\n| 数组中的第K个最大元素 | 数组、堆、分治 | 中等 | 高 | [LeetCode 215](https://leetcode.cn/problems/kth-largest-element-in-an-array/) |\n| 删除链表的倒数第N个节点 | 链表、双指针 | 中等 | 中 | [LeetCode 19](https://leetcode.cn/problems/remove-nth-node-from-end-of-list/) |\n| 搜索旋转排序数组 | 数组、二分查找 | 中等 | 中 | [LeetCode 33](https://leetcode.cn/problems/search-in-rotated-sorted-array/) |\n| K 个一组翻转链表 | 链表、递归 | 中等 | 中 | [LeetCode 25](https://leetcode.cn/problems/reverse-nodes-in-k-group/) |\n| 接雨水 | 栈、双指针 | 困难 | 高 | [LeetCode 42](https://leetcode.cn/problems/trapping-rain-water/) |\n| 二叉树的序列化与反序列化 | 树、深度优先搜索 | 困难 | 低 | [LeetCode 297](https://leetcode.cn/problems/serialize-and-deserialize-binary-tree/) |\n| 统计元音字母序列的数目 | 数字DP、背包 | 困难 | 低 | [LeetCode 1220](https://leetcode.cn/problems/count-vowels-permutation/) |\n| 滑动窗口最大值 | 模拟、优先队列 | 困难 | 高 | [LeetCode 239](https://leetcode.cn/problems/sliding-window-maximum/) |\n| 二叉树中的最大路径和 | 树、深度优先搜索 | 困难 | 高 | [LeetCode 124](https://leetcode.cn/problems/binary-tree-maximum-path-sum/) |\n| 单词接龙 | 广度优先搜索、字符串 | 困难 | 中 | [LeetCode 127](https://leetcode.cn/problems/word-ladder/) |\n| 单词接龙 II | 广度优先搜索、字符串 | 困难 | 低 | [LeetCode 126](https://leetcode.cn/problems/word-ladder-ii/) |\n| 盈利计划 | 数组、动态规划 | 困难 | 低 | [LeetCode 879](https://leetcode.cn/problems/profitable-schemes/) |\n| 正则表达式匹配 | 字符串、动态规划 | 困难 | 中 | [LeetCode 10](https://leetcode.cn/problems/regular-expression-matching/) |\n### 腾讯\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 两数之和 | 数组、哈希表 | 简单 | 高 | [LeetCode 1](https://leetcode.cn/problems/two-sum/) |\n| 有效的括号 | 栈、字符串 | 简单 | 高 | [LeetCode 20](https://leetcode.cn/problems/valid-parentheses/) |\n| 环形链表 | 链表、双指针 | 简单 | 高 | [LeetCode 141](https://leetcode.cn/problems/linked-list-cycle/) |\n| 爬楼梯 | 动态规划、记忆化搜索 | 简单 | 高 | [LeetCode 70](https://leetcode.cn/problems/climbing-stairs/) |\n| 分发饼干 | 贪心、排序 | 简单 | 高 | [LeetCode 455](https://leetcode.cn/problems/assign-cookies/) |\n| 买卖股票的最佳时机 II | 数组、动态规划 | 简单 | 高 | [LeetCode 122](https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii/) |\n| 二分查找 | 数组、二分查找 | 简单 | 高 | [LeetCode 704](https://leetcode.cn/problems/binary-search/) |\n| 相交链表 | 链表、双指针 | 简单 | 高 | [LeetCode 160](https://leetcode.cn/problems/intersection-of-two-linked-lists/) |\n| 复数乘法 | 数学、字符串 | 简单 | 中等 | [LeetCode 537](https://leetcode.cn/problems/complex-number-multiplication/) |\n| 岛屿数量 | 深度优先搜索、广度优先搜索 | 中等 | 高 | [LeetCode 200](https://leetcode.cn/problems/number-of-islands/) |\n| 课程表 | 深度优先搜索、广度优先搜索 | 中等 | 中等 | [LeetCode 207](https://leetcode.cn/problems/course-schedule/) |\n| 零钱兑换 | 动态规划 | 中等 | 高 | [LeetCode 322](https://leetcode.cn/problems/coin-change/) |\n| 不同路径 | 动态规划 | 中等 | 高 | [LeetCode 62](https://leetcode.cn/problems/unique-paths/) |\n| 每日温度 | 栈、单调栈 | 中等 | 高 | [LeetCode 739](https://leetcode.cn/problems/daily-temperatures/) |\n| 括号生成 | 回溯 | 中等 | 高 | [LeetCode 22](https://leetcode.cn/problems/generate-parentheses/) |\n| 电话号码的字母组合 | 回溯、字符串 | 中等 | 高 | [LeetCode 17](https://leetcode.cn/problems/letter-combinations-of-a-phone-number/) |\n| 三数之和 | 数组、双指针 | 中等 | 高 | [LeetCode 15](https://leetcode.cn/problems/3sum/) |\n| 字母异位词分组 | 数组、哈希表、字符串 | 中等 | 高 | [LeetCode 49](https://leetcode.cn/problems/group-anagrams/) |\n| 合并区间 | 数组、排序 | 中等 | 高 | [LeetCode 56](https://leetcode.cn/problems/merge-intervals/) |\n| 任务调度器 | 贪心、优先队列 | 中等 | 高 | [LeetCode 621](https://leetcode.cn/problems/task-scheduler/) |\n| 网络延迟时间 | 图、最短路径 | 中等 | 中等 | [LeetCode 743](https://leetcode.cn/problems/network-delay-time/) |\n| 廉价机票 | 图、深度优先搜索 | 中等 | 中等 | [LeetCode 787](https://leetcode.cn/problems/cheapest-flights-within-k-stops/) |\n| 数组中的第K个最大元素 | 数组、堆、分治 | 中等 | 高 | [LeetCode 215](https://leetcode.cn/problems/kth-largest-element-in-an-array/) |\n| 最长递增子序列 | 数组、动态规划、二分查找 | 中等 | 高 | [LeetCode 300](https://leetcode.cn/problems/longest-increasing-subsequence/) |\n| 分割等和子集 | 动态规划、背包问题 | 中等 | 中等 | [LeetCode 416](https://leetcode.cn/problems/partition-equal-subset-sum/) |\n| 单词拆分 | 动态规划、记忆化搜索 | 中等 | 高 | [LeetCode 139](https://leetcode.cn/problems/word-break/) |\n| 目标和 | 动态规划、背包问题 | 中等 | 高 | [LeetCode 494](https://leetcode.cn/problems/target-sum/) |\n| 岛屿的最大面积 | 深度优先搜索、广度优先搜索 | 中等 | 高 | [LeetCode 695](https://leetcode.cn/problems/max-area-of-island/) |\n| 盛最多水的容器 | 数组、双指针 | 中等 | 高 | [LeetCode 11](https://leetcode.cn/problems/container-with-most-water/) |\n| 有效的数独 | 数组、哈希表、回溯 | 中等 | 高 | [LeetCode 36](https://leetcode.cn/problems/valid-sudoku/) |\n| 最近的请求次数 | 设计、滑动窗口 | 中等 | 高 | [LeetCode 933](https://leetcode.cn/problems/number-of-recent-calls/) |\n| 设计哈希映射 | 设计、哈希表 | 中等 | 中等 | [LeetCode 706](https://leetcode.cn/problems/design-hashmap/) |\n| 插入删除得数 O(1) - 双向链表实现 | 设计、链表 | 中等 | 高 | [LeetCode 707](https://leetcode.cn/problems/design-linked-list/) |\n| 推多米诺 | 模拟、队列 | 中等 | 低 | [LeetCode 838](https://leetcode.cn/problems/push-dominoes/) |\n| 用 Rand7() 实现 Rand10() | 数学、概率 | 中等 | 高 | [LeetCode 470](https://leetcode.cn/problems/implement-rand10-using-rand7/) |\n| 滑动窗口最大值 | 队列、滑动窗口、堆 | 困难 | 高 | [LeetCode 239](https://leetcode.cn/problems/sliding-window-maximum/) |\n| 接雨水 | 栈、双指针 | 困难 | 高 | [LeetCode 42](https://leetcode.cn/problems/trapping-rain-water/) |\n| 二叉树中的最大路径和 | 树、深度优先搜索 | 困难 | 高 | [LeetCode 124](https://leetcode.cn/problems/binary-tree-maximum-path-sum/) |\n| 最小化最大子数组和 | 二分查找、动态规划 | 困难 | 中等 | [LeetCode 410](https://leetcode.cn/problems/split-array-largest-sum/) |\n| 外星字典 | 图、拓扑排序 | 困难 | 中等 | [LeetCode 269](https://leetcode.cn/problems/alien-dictionary/) |\n| 基本计算器 | 栈、递归 | 困难 | 中等 | [LeetCode 224](https://leetcode.cn/problems/basic-calculator/) |\n| 表达式添加运算符 | 回溯、动态规划 | 困难 | 中等 | [LeetCode 282](https://leetcode.cn/problems/expression-add-operators/) |\n| 课程表 III | 贪心、优先队列 | 困难 | 中等 | [LeetCode 630](https://leetcode.cn/problems/course-schedule-iii/) |\n| 规划兼职工作 | 数组、二分查找、动态规划 | 困难 | 中等 | [LeetCode 1235](https://leetcode.cn/problems/maximum-profit-in-job-scheduling/) |\n| 强密码检验器 | 字符串、贪心 | 困难 | 低 | [LeetCode 420](https://leetcode.cn/problems/strong-password-checker/) |\n| 滑动谜题 | 广度优先搜索 | 困难 | 低 | [LeetCode 773](https://leetcode.cn/problems/sliding-puzzle/) |\n| 最优账单平衡 | 图、最短路径 | 困难 | 中等 | [LeetCode 464](https://leetcode.cn/problems/optimal-account-balancing/) |\n\n\n### 美团\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 多数元素 | 数组、分治 | 简单 | 高 | [LeetCode 169](https://leetcode.cn/problems/majority-element/) |\n| 复数乘法 | 数学、字符串 | 简单 | 中 | [LeetCode 537](https://leetcode.cn/problems/complex-number-multiplication/) |\n| 替换空格 | 字符串、双指针 | 简单 | 高 | [剑指 Offer 05](https://leetcode.cn/problems/ti-huan-kong-ge-lcof/) |\n| 斐波那契数列 | 动态规划 | 简单 | 高 | [剑指 Offer 10 - I](https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof/) |\n| 矩阵中的路径 | 深度优先搜索、回溯 | 中等 | 高 | [剑指 Offer 12](https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof/) |\n| 机器人的运动范围 | 深度优先搜索、广度优先搜索 | 中等 | 高 | [剑指 Offer 13](https://leetcode.cn/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/) |\n| 剪绳子 | 动态规划、数学 | 中等 | 高 | [剑指 Offer 14](https://leetcode.cn/problems/jian-sheng-zi-lcof/) |\n| 数组中的逆序对 | 归并排序、数组 | 中等 | 高 | [剑指 Offer 51](https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof/) |\n| 路径总和 III | 树、深度优先搜索 | 中等 | 高 | [LeetCode 437](https://leetcode.cn/problems/path-sum-iii/) |\n| 乘积最大子数组 | 数组、动态规划 | 中等 | 高 | [LeetCode 152](https://leetcode.cn/problems/maximum-product-subarray/) |\n| 奇偶排序 | 数组、双指针 | 中等 | 高 | [LeetCode 922](https://leetcode.cn/problems/sort-array-by-parity-ii/) |\n| 区间和的更改 | 树状数组、区间查询 | 中等 | 高 | [LeetCode 307](https://leetcode.cn/problems/range-sum-query-mutable/) |\n| 用 Rand7() 实现 Rand10() | 数学、概率 | 中等 | 高 | [LeetCode 470](https://leetcode.cn/problems/implement-rand10-using-rand7/) |\n| 最近的请求次数 | 设计、滑动窗口 | 中等 | 高 | [LeetCode 933](https://leetcode.cn/problems/number-of-recent-calls/) |\n| 设计哈希映射 | 设计、哈希表 | 中等 | 高 | [LeetCode 706](https://leetcode.cn/problems/design-hashmap/) |\n| 设计链表 | 设计、链表 | 中等 | 高 | [LeetCode 707](https://leetcode.cn/problems/design-linked-list/) |\n| 推多米诺 | 模拟、队列 | 中等 | 中 | [LeetCode 838](https://leetcode.cn/problems/push-dominoes/) |\n| 螺旋矩阵 II | 数组、数学 | 中等 | 高 | [LeetCode 59](https://leetcode.cn/problems/spiral-matrix-ii/) |\n| 第一个只出现一次的字符 | 字符串、哈希表 | 中等 | 高 | [剑指 Offer 50](https://leetcode.cn/problems/di-yi-ge-zhi-chu-xian-yi-ci-de-zi-fu-lcof/) |\n| 和为 s 的两个数字 | 数组、哈希表 | 中等 | 高 | [剑指 Offer 57](https://leetcode.cn/problems/he-wei-s-de-liang-ge-shu-zi-lcof/) |\n| 滑动窗口的最大值 | 队列、滑动窗口 | 中等 | 高 | [剑指 Offer 59 - I](https://leetcode.cn/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/) |\n| 圆圈中最后剩下的数 | 数组、数学 | 中等 | 高 | [剑指 Offer 62](https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/) |\n| 构建乘积数组 | 数组、前缀和 | 中等 | 高 | [剑指 Offer 66](https://leetcode.cn/problems/gou-jian-cheng-ji-shu-zu-lcof/) |\n| 把数组排成最小的数 | 排序、字符串 | 中等 | 高 | [剑指 Offer 45](https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof/) |\n| 把数字翻译成字符串 | 动态规划 | 中等 | 高 | [剑指 Offer 46](https://leetcode.cn/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof/) |\n| 礼物的最大价值 | 动态规划、矩阵 | 中等 | 高 | [剑指 Offer 47](https://leetcode.cn/problems/li-wu-de-zui-da-jie-zhi-lcof/) |\n| 数组中数字出现的次数 | 位运算、数组 | 中等 | 高 | [剑指 Offer 56 - I](https://leetcode.cn/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof/) |\n| 二叉搜索树的第k大节点 | 树、深度优先搜索 | 中等 | 高 | [剑指 Offer 54](https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof/) |\n| 股票的最大利润 | 数组、动态规划 | 中等 | 高 | [剑指 Offer 63](https://leetcode.cn/problems/gu-piao-de-zui-da-li-run-lcof/) |\n| 岛屿的最大面积 | 深度优先搜索、广度优先搜索 | 中等 | 低 | [LeetCode 695](https://leetcode.cn/problems/max-area-of-island/) |\n| 课程表 II | 图、深度优先搜索 | 中等 | 中 | [LeetCode 210](https://leetcode.cn/problems/course-schedule-ii/) |\n| 分隔链表 | 链表、双指针 | 中等 | 低 | [LeetCode 86](https://leetcode.cn/problems/partition-list/) |\n| 解码方法 | 动态规划 | 中等 | 中 | [LeetCode 91](https://leetcode.cn/problems/decode-ways/) |\n| 每日温度 | 栈、单调栈 | 中等 | 中 | [LeetCode 739](https://leetcode.cn/problems/daily-temperatures/) |\n| 交错字符串 | 字符串、动态规划 | 中等 | 低 | [LeetCode 97](https://leetcode.cn/problems/interleaving-string/) |\n| 和为K的子数组 | 数组、哈希表 | 中等 | 中 | [LeetCode 560](https://leetcode.cn/problems/subarray-sum-equals-k/) |\n| 前K个高频单词 | 哈希表、堆 | 中等 | 中 | [LeetCode 692](https://leetcode.cn/problems/top-k-frequent-words/) |\n| 四数之和 | 数组、双指针 | 中等 | 低 | [LeetCode 18](https://leetcode.cn/problems/4sum/) |\n| 字符串解码 | 栈、字符串 | 中等 | 中 | [LeetCode 394](https://leetcode.cn/problems/decode-string/) |\n| Z字形变换 | 字符串 | 中等 | 低 | [LeetCode 6](https://leetcode.cn/problems/zigzag-conversion/) |\n| Fizz Buzz 多倍数 | 线程、设计 | 中等 | 低 | [LeetCode 1195](https://leetcode.cn/problems/fizz-buzz-multithreaded/) |\n| 最长回文子序列 | 字符串、动态规划 | 中等 | 中 | [LeetCode 516](https://leetcode.cn/problems/longest-palindromic-subsequence/) |\n| 奇偶链表 | 链表、双指针 | 中等 | 低 | [LeetCode 328](https://leetcode.cn/problems/odd-even-linked-list/) |\n| 区间和的个数 | 数组、动态规划 | 困难 | 低 | [LeetCode 327](https://leetcode.cn/problems/count-of-range-sum/) |\n| 通配符匹配 | 字符串、动态规划 | 困难 | 低 | [LeetCode 44](https://leetcode.cn/problems/wildcard-matching/) |\n| 强密码检验器 | 字符串、贪心 | 困难 | 高 | [LeetCode 420](https://leetcode.cn/problems/strong-password-checker/) |\n| 滑动谜题 | 广度优先搜索 | 困难 | 中 | [LeetCode 773](https://leetcode.cn/problems/sliding-puzzle/) |\n| 最优账单平衡 | 图、最短路径 | 困难 | 高 | [LeetCode 464](https://leetcode.cn/problems/optimal-account-balancing/) |\n| 戳气球 | 动态规划、区间 | 困难 | 高 | [LeetCode 312](https://leetcode.cn/problems/burst-balloons/) |\n| 最小覆盖子串 | 哈希表、滑动窗口 | 困难 | 高 | [LeetCode 76](https://leetcode.cn/problems/minimum-window-substring/) |\n\n### 百度\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 多数元素 | 数组、分治 | 简单 | 高 | [LeetCode 169](https://leetcode.cn/problems/majority-element/) |\n| 搜索插入位置 | 数组、二分查找 | 简单 | 高 | [LeetCode 35](https://leetcode.cn/problems/search-insert-position/) |\n| 二分查找 | 数组、二分查找 | 简单 | 高 | [LeetCode 704](https://leetcode.cn/problems/binary-search/) |\n| 有效的括号 | 栈、字符串 | 简单 | 高 | [LeetCode 20](https://leetcode.cn/problems/valid-parentheses/) |\n| 最大子数组和 | 数组、分治、动态规划 | 简单 | 高 | [LeetCode 53](https://leetcode.cn/problems/maximum-subarray/) |\n| 反转链表 | 链表、递归 | 简单 | 高 | [LeetCode 206](https://leetcode.cn/problems/reverse-linked-list/) |\n| 合并两个有序链表 | 链表、递归 | 简单 | 高 | [LeetCode 21](https://leetcode.cn/problems/merge-two-sorted-lists/) |\n| 矩阵中的路径 | 深度优先搜索、回溯 | 中等 | 高 | [剑指 Offer 12](https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof/) |\n| 机器人的运动范围 | 深度优先搜索、广度优先搜索 | 中等 | 高 | [剑指 Offer 13](https://leetcode.cn/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/) |\n| 剪绳子 | 动态规划、数学 | 中等 | 高 | [剑指 Offer 14](https://leetcode.cn/problems/jian-sheng-zi-lcof/) |\n| 数组中的逆序对 | 归并排序、数组 | 中等 | 高 | [剑指 Offer 51](https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof/) |\n| 路径总和 III | 树、深度优先搜索 | 中等 | 高 | [LeetCode 437](https://leetcode.cn/problems/path-sum-iii/) |\n| 乘积最大子数组 | 数组、动态规划 | 中等 | 高 | [LeetCode 152](https://leetcode.cn/problems/maximum-product-subarray/) |\n| 奇偶排序 | 数组、双指针 | 中等 | 中 | [LeetCode 922](https://leetcode.cn/problems/sort-array-by-parity-ii/) |\n| 区间和的更改 | 树状数组、区间查询 | 中等 | 高 | [LeetCode 307](https://leetcode.cn/problems/range-sum-query-mutable/) |\n| 用 Rand7() 实现 Rand10() | 数学、概率 | 中等 | 高 | [LeetCode 470](https://leetcode.cn/problems/implement-rand10-using-rand7/) |\n| 最近的请求次数 | 设计、滑动窗口 | 中等 | 高 | [LeetCode 933](https://leetcode.cn/problems/number-of-recent-calls/) |\n| 设计哈希映射 | 设计、哈希表 | 中等 | 高 | [LeetCode 706](https://leetcode.cn/problems/design-hashmap/) |\n| 插入删除得数 O(1) - 双向链表实现 | 设计、链表 | 中等 | 高 | [LeetCode 707](https://leetcode.cn/problems/design-linked-list/) |\n| 推多米诺 | 模拟、队列 | 中等 | 中 | [LeetCode 838](https://leetcode.cn/problems/push-dominoes/) |\n| 搜索旋转排序数组 | 数组、二分查找 | 中等 | 高 | [LeetCode 33](https://leetcode.cn/problems/search-in-rotated-sorted-array/) |\n| 寻找旋转排序数组中的最小值 | 数组、二分查找 | 中等 | 高 | [LeetCode 153](https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array/) |\n| 二叉搜索树的第k大节点 | 树、深度优先搜索 | 中等 | 高 | [剑指 Offer 54](https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof/) |\n| 搜索二维矩阵 | 数组、二分查找 | 中等 | 高 | [LeetCode 74](https://leetcode.cn/problems/search-a-2d-matrix/) |\n| 无重复字符的最长子串 | 哈希表、字符串、滑动窗口 | 中等 | 高 | [LeetCode 3](https://leetcode.cn/problems/longest-substring-without-repeating-characters/) |\n| 数组中的第K个最大元素 | 数组、堆、分治 | 中等 | 高 | [LeetCode 215](https://leetcode.cn/problems/kth-largest-element-in-an-array/) |\n| 最长递增子序列 | 数组、动态规划、二分查找 | 中等 | 高 | [LeetCode 300](https://leetcode.cn/problems/longest-increasing-subsequence/) |\n| 字符串到整型 | 字符串、模拟 | 中等 | 高 | [LeetCode 8](https://leetcode.cn/problems/string-to-integer-atoi/) |\n| 字符串相加 | 字符串、数学 | 中等 | 高 | [LeetCode 415](https://leetcode.cn/problems/add-strings/) |\n| LRU 缓存机制 | 哈希表、双向链表、设计 | 中等 | 高 | [LeetCode 146](https://leetcode.cn/problems/lru-cache/) |\n| 跳跃游戏 | 贪心 | 中等 | 中 | [LeetCode 55](https://leetcode.cn/problems/jump-game/) |\n| 组合总和 II | 回溯 | 中等 | 低 | [LeetCode 40](https://leetcode.cn/problems/combination-sum-ii/) |\n| 最长递增子序列的长度 | 动态规划 | 中等 | 中 | [LeetCode 673](https://leetcode.cn/problems/number-of-longest-increasing-subsequence/) |\n| 螺旋矩阵 | 数组 | 中等 | 低 | [LeetCode 54](https://leetcode.cn/problems/spiral-matrix/) |\n| 盛最多水的容器 | 数组、双指针 | 中等 | 中 | [LeetCode 11](https://leetcode.cn/problems/container-with-most-water/) |\n| 寻找重复数 | 链表、二分查找 | 中等 | 低 | [LeetCode 287](https://leetcode.cn/problems/find-the-duplicate-number/) |\n| 最大数 | 排序 | 中等 | 中 | [LeetCode 179](https://leetcode.cn/problems/largest-number/) |\n| 版本号比较 | 双指针 | 中等 | 低 | [LeetCode 165](https://leetcode.cn/problems/compare-version-numbers/) |\n| 删除排序链表中的重复元素 II | 链表 | 中等 | 中 | [LeetCode 82](https://leetcode.cn/problems/remove-duplicates-from-sorted-list-ii/) |\n| 下一个排列 | 数组 | 中等 | 低 | [LeetCode 31](https://leetcode.cn/problems/next-permutation/) |\n| 递增的数字 | 贪心 | 中等 | 中 | [LeetCode 738](https://leetcode.cn/problems/monotone-increasing-digits/) |\n| 打家劫舍 II | 动态规划 | 中等 | 低 | [LeetCode 213](https://leetcode.cn/problems/house-robber-ii/) |\n| 最小覆盖子串 | 哈希表、滑动窗口 | 困难 | 高 | [LeetCode 76](https://leetcode.cn/problems/minimum-window-substring/) |\n| 两个排序数组的中位数 | 数组、二分查找 | 困难 | 高 | [LeetCode 4](https://leetcode.cn/problems/median-of-two-sorted-arrays/) |\n| 正则表达式匹配 | 字符串、动态规划 | 困难 | 高 | [LeetCode 10](https://leetcode.cn/problems/regular-expression-matching/) |\n| 通配符匹配 | 字符串、动态规划 | 困难 | 高 | [LeetCode 44](https://leetcode.cn/problems/wildcard-matching/) |\n| 编辑距离 | 动态规划 | 困难 | 高 | [LeetCode 72](https://leetcode.cn/problems/edit-distance/) |\n| 戳气球 | 动态规划、区间 | 困难 | 高 | [LeetCode 312](https://leetcode.cn/problems/burst-balloons/) |\n| 最佳买卖股票时机含冷冻期 | 数组、动态规划 | 困难 | 高 | [LeetCode 309](https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-with-cooldown/) |\n| 买卖股票的最佳时机 IV | 数组、动态规划 | 困难 | 高 | [LeetCode 188](https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-iv/) |\n| 二叉树的序列化与反序列化 | 树、深度优先搜索 | 困难 | 高 | [LeetCode 297](https://leetcode.cn/problems/serialize-and-deserialize-binary-tree/) |\n| 表达式添加运算符 | 回溯、动态规划 | 困难 | 高 | [LeetCode 282](https://leetcode.cn/problems/expression-add-operators/) |\n| 基本计算器 | 栈、递归 | 困难 | 高 | [LeetCode 224](https://leetcode.cn/problems/basic-calculator/) |\n| 外星字典 | 图、拓扑排序 | 困难 | 高 | [LeetCode 269](https://leetcode.cn/problems/alien-dictionary/) |\n| 课程表 III | 贪心、优先队列 | 困难 | 高 | [LeetCode 630](https://leetcode.cn/problems/course-schedule-iii/) |\n| 规划兼职工作 | 数组、二分查找、动态规划 | 困难 | 高 | [LeetCode 1235](https://leetcode.cn/problems/maximum-profit-in-job-scheduling/) |\n| 序列的重建 | 图、拓扑排序 | 困难 | 中 | [LeetCode 444](https://leetcode.cn/problems/sequence-reconstruction/) |\n| 最大化工具 | 贪心、优先队列 | 困难 | 中 | [LeetCode 1648](https://leetcode.cn/problems/sell-diminishing-valued-colored-balls/) |\n| 强密码检验器 | 字符串、贪心 | 困难 | 中 | [LeetCode 420](https://leetcode.cn/problems/strong-password-checker/) |\n| 滑动谜题 | 广度优先搜索 | 困难 | 中 | [LeetCode 773](https://leetcode.cn/problems/sliding-puzzle/) |\n| 最优账单平衡 | 图、最短路径 | 困难 | 中 | [LeetCode 464](https://leetcode.cn/problems/optimal-account-balancing/) |\n| K 个一组翻转链表 | 链表、递归 | 困难 | 高 | [LeetCode 25](https://leetcode.cn/problems/reverse-nodes-in-k-group/) |\n| 最长有效括号 | 字符串、栈、动态规划 | 困难 | 中 | [LeetCode 32](https://leetcode.cn/problems/longest-valid-parentheses/) |\n\n### 京东\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 多数元素 | 数组、分治 | 简单 | 高 | [LeetCode 169](https://leetcode.cn/problems/majority-element/) |\n| 搜索插入位置 | 数组、二分查找 | 简单 | 高 | [LeetCode 35](https://leetcode.cn/problems/search-insert-position/) |\n| 替换空格 | 字符串、双指针 | 简单 | 高 | [剑指 Offer 05](https://leetcode.cn/problems/ti-huan-kong-ge-lcof/) |\n| 斐波那契数列 | 动态规划 | 简单 | 中 | [LeetCode 509](https://leetcode.cn/problems/fibonacci-number/) |\n| 旋转数组的最小数字 | 数组、二分查找 | 简单 | 高 | [剑指 Offer 11](https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof/) |\n| 用两个栈实现队列 | 栈、设计 | 简单 | 高 | [剑指 Offer 09](https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof/) |\n| 调整数组顺序使奇数位于偶数前面 | 数组、双指针 | 简单 | 中 | [剑指 Offer 21](https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/) |\n| 反转链表 | 链表、递归 | 简单 | 高 | [剑指 Offer 24](https://leetcode.cn/problems/fan-zhuan-lian-biao-lcof/) |\n| 有效的括号 | 栈、字符串 | 简单 | 高 | [LeetCode 20](https://leetcode.cn/problems/valid-parentheses/) |\n| 合并两个有序链表 | 链表、递归 | 简单 | 高 | [LeetCode 21](https://leetcode.cn/problems/merge-two-sorted-lists/) |\n| 矩阵中的路径 | 深度优先搜索、回溯 | 中等 | 高 | [剑指 Offer 12](https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof/) |\n| 机器人的运动范围 | 深度优先搜索、广度优先搜索 | 中等 | 高 | [剑指 Offer 13](https://leetcode.cn/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/) |\n| 剪绳子 | 动态规划、数学 | 中等 | 高 | [剑指 Offer 14](https://leetcode.cn/problems/jian-sheng-zi-lcof/) |\n| 数组中的逆序对 | 归并排序、数组 | 中等 | 中 | [剑指 Offer 51](https://leetcode.cn/problems/shu-zu-zhong-de-ni-xu-dui-lcof/) |\n| 路径总和 III | 树、深度优先搜索 | 中等 | 中 | [LeetCode 437](https://leetcode.cn/problems/path-sum-iii/) |\n| 乘积最大子数组 | 数组、动态规划 | 中等 | 中 | [LeetCode 152](https://leetcode.cn/problems/maximum-product-subarray/) |\n| 奇偶排序 | 数组、双指针 | 中等 | 中 | [LeetCode 922](https://leetcode.cn/problems/sort-array-by-parity-ii/) |\n| 区间和的更改 | 树状数组、区间查询 | 中等 | 中 | [LeetCode 307](https://leetcode.cn/problems/range-sum-query-mutable/) |\n| 用 Rand7() 实现 Rand10() | 数学、概率 | 中等 | 中 | [LeetCode 470](https://leetcode.cn/problems/implement-rand10-using-rand7/) |\n| 最近的请求次数 | 设计、滑动窗口 | 中等 | 中 | [LeetCode 933](https://leetcode.cn/problems/number-of-recent-calls/) |\n| 设计哈希映射 | 设计、哈希表 | 中等 | 高 | [LeetCode 706](https://leetcode.cn/problems/design-hashmap/) |\n| 插入删除得数 O(1) - 双向链表实现 | 设计、链表 | 中等 | 高 | [LeetCode 707](https://leetcode.cn/problems/design-linked-list/) |\n| 推多米诺 | 模拟、队列 | 中等 | 中 | [LeetCode 838](https://leetcode.cn/problems/push-dominoes/) |\n| 搜索旋转排序数组 | 数组、二分查找 | 中等 | 高 | [LeetCode 33](https://leetcode.cn/problems/search-in-rotated-sorted-array/) |\n| 寻找旋转排序数组中的最小值 | 数组、二分查找 | 中等 | 高 | [LeetCode 153](https://leetcode.cn/problems/find-minimum-in-rotated-sorted-array/) |\n| 二叉搜索树的第k大节点 | 树、深度优先搜索 | 中等 | 中 | [剑指 Offer 54](https://leetcode.cn/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof/) |\n| 树的子结构 | 树、深度优先搜索 | 中等 | 高 | [剑指 Offer 26](https://leetcode.cn/problems/shu-de-zi-jie-gou-lcof/) |\n| 二叉树的镜像 | 树、递归 | 中等 | 高 | [剑指 Offer 27](https://leetcode.cn/problems/er-cha-shu-de-jing-xiang-lcof/) |\n| 对称的二叉树 | 树、递归 | 中等 | 高 | [剑指 Offer 28](https://leetcode.cn/problems/dui-cheng-de-er-cha-shu-lcof/) |\n| 顺时针打印矩阵 | 数组、模拟 | 中等 | 高 | [剑指 Offer 29](https://leetcode.cn/problems/shun-shi-zhen-da-yin-ju-zhen-lcof/) |\n| 包含min函数的栈 | 栈、设计 | 中等 | 高 | [剑指 Offer 30](https://leetcode.cn/problems/bao-han-minhan-shu-de-die-dai-lcof/) |\n| 从上到下打印二叉树 | 树、广度优先搜索 | 中等 | 高 | [剑指 Offer 32 - I](https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/) |\n| 二叉树中和为某一值的路径 | 树、深度优先搜索 | 中等 | 中 | [剑指 Offer 34](https://leetcode.cn/problems/er-cha-shu-zhong-he-wei-suo-you-de-lu-jing-lcof/) |\n| 复杂链表的复制 | 链表、哈希表 | 中等 | 中 | [剑指 Offer 35](https://leetcode.cn/problems/fu-za-lian-biao-de-fu-zhi-lcof/) |\n| 无重复字符的最长子串 | 哈希表、字符串、滑动窗口 | 中等 | 高 | [LeetCode 3](https://leetcode.cn/problems/longest-substring-without-repeating-characters/) |\n| 三数之和 | 数组、双指针 | 中等 | 高 | [LeetCode 15](https://leetcode.cn/problems/3sum/) |\n| 数组中的第K个最大元素 | 数组、堆、分治 | 中等 | 高 | [LeetCode 215](https://leetcode.cn/problems/kth-largest-element-in-an-array/) |\n| 全排列 | 数组、回溯 | 中等 | 高 | [LeetCode 46](https://leetcode.cn/problems/permutations/) |\n| 环形链表 II | 链表、双指针 | 中等 | 高 | [LeetCode 142](https://leetcode.cn/problems/linked-list-cycle-ii/) |\n| 排序数组 | 数组、排序 | 中等 | 高 | [LeetCode 912](https://leetcode.cn/problems/sort-an-array/) |\n| LRU 缓存机制 | 哈希表、双向链表、设计 | 中等 | 高 | [LeetCode 146](https://leetcode.cn/problems/lru-cache/) |\n| 复数乘法 | 数学、字符串 | 中等 | 中 | [LeetCode 537](https://leetcode.cn/problems/complex-number-multiplication/) |\n| 组合 | 回溯 | 中等 | 低 | [LeetCode 77](https://leetcode.cn/problems/combinations/) |\n| 在排序数组中查找元素的第一个和最后一个位置 | 数组、二分查找 | 中等 | 低 | [LeetCode 34](https://leetcode.cn/problems/find-first-and-last-position-of-element-in-sorted-array/) |\n| 和为 K 的子数组 | 数组、哈希表 | 中等 | 低 | [LeetCode 560](https://leetcode.cn/problems/subarray-sum-equals-k/) |\n| 逆波兰表达式求值 | 栈 | 中等 | 低 | [LeetCode 150](https://leetcode.cn/problems/evaluate-reverse-polish-notation/) |\n| 二叉树的右视图 | 树、广度优先搜索 | 中等 | 低 | [LeetCode 199](https://leetcode.cn/problems/binary-tree-right-side-view/) |\n| 岛屿的最大面积 | 深度优先搜索、广度优先搜索 | 中等 | 低 | [LeetCode 695](https://leetcode.cn/problems/max-area-of-island/) |\n| 二叉树层序遍历 II | 树、广度优先搜索 | 中等 | 低 | [LeetCode 107](https://leetcode.cn/problems/binary-tree-level-order-traversal-ii/) |\n| 最小覆盖子串 | 哈希表、滑动窗口 | 困难 | 中 | [LeetCode 76](https://leetcode.cn/problems/minimum-window-substring/) |\n| 戳气球 | 动态规划、区间 | 困难 | 中 | [LeetCode 312](https://leetcode.cn/problems/burst-balloons/) |\n| 最优账单平衡 | 图、最短路径 | 困难 | 中 | [LeetCode 464](https://leetcode.cn/problems/optimal-account-balancing/) |\n| 强密码检验器 | 字符串、贪心 | 困难 | 中 | [LeetCode 420](https://leetcode.cn/problems/strong-password-checker/) |\n| 滑动谜题 | 广度优先搜索 | 困难 | 中 | [LeetCode 773](https://leetcode.cn/problems/sliding-puzzle/) |\n| 滑动窗口最大值 | 队列、滑动窗口、堆 | 困难 | 低 | [LeetCode 239](https://leetcode.cn/problems/sliding-window-maximum/) |\n| 分发糖果 | 贪心 | 困难 | 低 | [LeetCode 135](https://leetcode.cn/problems/candy/) |\n| 缺失的第一个正数 | 数组 | 困难 | 低 | [LeetCode 41](https://leetcode.cn/problems/first-missing-positive/) |\n\n### 华为\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 位1的个数 | 位运算 | 简单 | 高 | [LeetCode 191](https://leetcode.cn/problems/number-of-1-bits/) |\n| 汉明重量 | 位运算 | 简单 | 高 | [LeetCode 191](https://leetcode.cn/problems/number-of-1-bits/) |\n| 旋转数组的最小数字 | 数组、二分查找 | 简单 | 高 | [剑指 Offer 11](https://leetcode.cn/problems/xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof/) |\n| 用两个栈实现队列 | 栈、设计 | 简单 | 高 | [剑指 Offer 09](https://leetcode.cn/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof/) |\n| 调整数组顺序使奇数位于偶数前面 | 数组、双指针 | 简单 | 高 | [剑指 Offer 21](https://leetcode.cn/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/) |\n| 二叉树的最大深度 | 树、深度优先搜索 | 简单 | 高 | [LeetCode 104](https://leetcode.cn/problems/maximum-depth-of-binary-tree/) |\n| 翻转二叉树 | 树、深度优先搜索 | 简单 | 高 | [LeetCode 226](https://leetcode.cn/problems/invert-binary-tree/) |\n| 路径总和 | 树、深度优先搜索 | 简单 | 高 | [LeetCode 112](https://leetcode.cn/problems/path-sum/) |\n| 左旋转字符串 | 字符串、模拟 | 简单 | 高 | [剑指 Offer 58 - II](https://leetcode.cn/problems/zuo-xuan-zhuan-dan-ci-chuan-lcof/) |\n| 不用加减乘除做加法 | 位运算 | 简单 | 高 | [剑指 Offer 65](https://leetcode.cn/problems/bu-yong-jia-jian-cheng-chu-zuo-jia-fa-lcof/) |\n| 替换空格 | 字符串、双指针 | 简单 | 高 | [剑指 Offer 05](https://leetcode.cn/problems/ti-huan-kong-ge-lcof/) |\n| 斐波那契数列 | 动态规划 | 简单 | 高 | [剑指 Offer 10 - I](https://leetcode.cn/problems/fei-bo-na-qi-shu-lie-lcof/) |\n| 整数反转 | 数学 | 简单 | 高 | [LeetCode 7](https://leetcode.cn/problems/reverse-integer/) |\n| 有效的括号 | 栈、字符串 | 简单 | 高 | [LeetCode 20](https://leetcode.cn/problems/valid-parentheses/) |\n| 最长连续递增子序列 | 数组、动态规划 | 中等 | 高 | [LeetCode 674](https://leetcode.cn/problems/longest-continuous-increasing-subsequence/) |\n| 最长递增子序列 | 数组、动态规划、二分查找 | 中等 | 高 | [LeetCode 300](https://leetcode.cn/problems/longest-increasing-subsequence/) |\n| 实现Trie树（前缀树） | 设计、数据结构 | 中等 | 高 | [LeetCode 208](https://leetcode.cn/problems/implement-trie-prefix-tree/) |\n| 包含重复数字 | 数组、滑动窗口 | 中等 | 高 | [LeetCode 220](https://leetcode.cn/problems/contains-duplicate-iii/) |\n| 二叉树展开为链表 | 树、深度优先搜索 | 中等 | 高 | [LeetCode 114](https://leetcode.cn/problems/flatten-binary-tree-to-linked-list/) |\n| 对称的二叉树 | 树、递归 | 中等 | 高 | [LeetCode 101](https://leetcode.cn/problems/symmetric-tree/) |\n| 二叉树的层序遍历 | 树、广度优先搜索 | 中等 | 高 | [LeetCode 102](https://leetcode.cn/problems/binary-tree-level-order-traversal/) |\n| 树中两个节点的最低公共祖先 | 树、深度优先搜索 | 中等 | 高 | [剑指 Offer 68 - I](https://leetcode.cn/problems/er-cha-shu-de-zui-jin-gong-gong-zu-xian-lcof/) |\n| 二叉树的最近公共祖先 | 树、深度优先搜索 | 中等 | 高 | [LeetCode 236](https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree/) |\n| 包含min函数的栈 | 栈、设计 | 中等 | 高 | [LeetCode 155](https://leetcode.cn/problems/min-stack/) |\n| 滑动窗口的最大值 | 队列、滑动窗口 | 中等 | 高 | [LeetCode 239](https://leetcode.cn/problems/sliding-window-maximum/) |\n| 数组中数字出现的次数 | 位运算、数组 | 中等 | 高 | [剑指 Offer 56 - I](https://leetcode.cn/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof/) |\n| 翻转单词顺序 | 字符串、双指针 | 中等 | 高 | [剑指 Offer 58 - I](https://leetcode.cn/problems/fan-zhuan-dan-ci-shun-xu-lcof/) |\n| 扑克牌中的顺子 | 数组、排序 | 中等 | 高 | [剑指 Offer 61](https://leetcode.cn/problems/bu-ke-pai-zhong-de-shun-zi-lcof/) |\n| 求1+2+…+n | 数学、位运算 | 中等 | 高 | [剑指 Offer 64](https://leetcode.cn/problems/qiu-1-2-n-lcof/) |\n| 把字符串转换成整数 | 字符串、数学 | 中等 | 高 | [剑指 Offer 67](https://leetcode.cn/problems/ba-zi-fu-chuan-zhuan-huan-cheng-zi-fu-shu-lcof/) |\n| 矩阵中的路径 | 深度优先搜索、回溯 | 中等 | 高 | [剑指 Offer 12](https://leetcode.cn/problems/ju-zhen-zhong-de-lu-jing-lcof/) |\n| 机器人的运动范围 | 深度优先搜索、广度优先搜索 | 中等 | 高 | [剑指 Offer 13](https://leetcode.cn/problems/ji-qi-ren-de-yun-dong-fan-wei-lcof/) |\n| 剪绳子 | 动态规划、数学 | 中等 | 高 | [剑指 Offer 14 - I](https://leetcode.cn/problems/jian-sheng-zi-lcof/) |\n| 把数组排成最小的数 | 排序、字符串 | 中等 | 高 | [剑指 Offer 45](https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof/) |\n| 把数字翻译成字符串 | 动态规划 | 中等 | 高 | [剑指 Offer 46](https://leetcode.cn/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof/) |\n| 礼物的最大价值 | 动态规划、矩阵 | 中等 | 高 | [剑指 Offer 47](https://leetcode.cn/problems/li-wu-de-zui-da-jie-zhi-lcof/) |\n| 第一个只出现一次的字符 | 字符串、哈希表 | 中等 | 高 | [剑指 Offer 50](https://leetcode.cn/problems/di-yi-ge-zhi-chu-xian-yi-ci-de-zi-fu-lcof/) |\n| 丑数 | 数学、堆 | 中等 | 高 | [剑指 Offer 49](https://leetcode.cn/problems/chou-shu-lcof/) |\n| 和为 s 的两个数字 | 数组、哈希表 | 中等 | 高 | [剑指 Offer 57](https://leetcode.cn/problems/he-wei-s-de-liang-ge-shu-zi-lcof/) |\n| 圆圈中最后剩下的数 | 数组、数学 | 中等 | 高 | [剑指 Offer 62](https://leetcode.cn/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/) |\n| 构建乘积数组 | 数组、前缀和 | 中等 | 高 | [剑指 Offer 66](https://leetcode.cn/problems/gou-jian-cheng-ji-shu-zu-lcof/) |\n| 无重复字符的最长子串 | 哈希表、字符串、滑动窗口 | 中等 | 高 | [LeetCode 3](https://leetcode.cn/problems/longest-substring-without-repeating-characters/) |\n| 每日温度 | 栈、单调栈 | 中等 | 高 | [LeetCode 739](https://leetcode.cn/problems/daily-temperatures/) |\n| 砖墙 | 数组、哈希表 | 中等 | 高 | [LeetCode 554](https://leetcode.cn/problems/brick-wall/) |\n| 三数之和 | 数组、双指针 | 中等 | 高 | [LeetCode 15](https://leetcode.cn/problems/3sum/) |\n| 全排列 | 数组、回溯 | 中等 | 高 | [LeetCode 46](https://leetcode.cn/problems/permutations/) |\n| 岛屿数量 | 深度优先搜索、广度优先搜索 | 中等 | 高 | [LeetCode 200](https://leetcode.cn/problems/number-of-islands/) |\n| 合并区间 | 数组、排序 | 中等 | 高 | [LeetCode 56](https://leetcode.cn/problems/merge-intervals/) |\n| 零钱兑换 | 动态规划 | 中等 | 高 | [LeetCode 322](https://leetcode.cn/problems/coin-change/) |\n| 最长回文子串 | 字符串、动态规划 | 中等 | 高 | [LeetCode 5](https://leetcode.cn/problems/longest-palindromic-substring/) |\n| 去除重复字母 | 字符串、单调栈 | 中等 | 高 | [LeetCode 316](https://leetcode.cn/problems/remove-duplicate-letters/) |\n| 基本计算器 II | 栈、数学 | 中等 | 高 | [LeetCode 227](https://leetcode.cn/problems/basic-calculator-ii/) |\n| 字符串解码 | 栈、字符串 | 中等 | 高 | [LeetCode 394](https://leetcode.cn/problems/decode-string/) |\n| 复原IP地址 | 字符串、回溯算法 | 中等 | 中 | [LeetCode 93](https://leetcode.cn/problems/restore-ip-addresses/) |\n| K 个一组翻转链表 | 链表、递归 | 困难 | 高 | [LeetCode 25](https://leetcode.cn/problems/reverse-nodes-in-k-group/) |\n| 合并K个升序链表 | 链表、堆、分治 | 困难 | 高 | [LeetCode 23](https://leetcode.cn/problems/merge-k-sorted-lists/) |\n| 正则表达式匹配 | 字符串、动态规划 | 困难 | 中 | [LeetCode 10](https://leetcode.cn/problems/regular-expression-matching/) |\n| 最小覆盖子串 | 哈希表、滑动窗口 | 困难 | 中 | [LeetCode 76](https://leetcode.cn/problems/minimum-window-substring/) |\n| 寻找两个正序数组的中位数 | 数组、二分查找 | 困难 | 中 | [LeetCode 4](https://leetcode.cn/problems/median-of-two-sorted-arrays/) |\n| 柱状图中最大的矩形 | 栈、数组、单调栈 | 困难 | 中 | [LeetCode 84](https://leetcode.cn/problems/largest-rectangle-in-histogram/) |\n| 编辑距离 | 字符串、动态规划 | 困难 | 中 | [LeetCode 72](https://leetcode.cn/problems/edit-distance/) |\n| 单词接龙 | 图、广度优先搜索 | 困难 | 中 | [LeetCode 127](https://leetcode.cn/problems/word-ladder/) |\n| 天际线问题 | 树状数组、线段树、扫描线 | 困难 | 低 | [LeetCode 218](https://leetcode.cn/problems/the-skyline-problem/) |\n| 戳气球 | 动态规划、区间 | 困难 | 低 | [LeetCode 312](https://leetcode.cn/problems/burst-balloons/) |\n| 最优账单平衡 | 图、动态规划、状态压缩 | 困难 | 低 | [LeetCode 464](https://leetcode.cn/problems/optimal-account-balancing/) |\n\n### 小米\n| 题目名称 | 标签 | 难度 | 频率 | 题目链接 |\n|----------|------|------|------|----------|\n| 数组中出现次数超过一半的数字 | 数组、哈希表、分治 | 简单 | 高 | [剑指 Offer 39](https://leetcode.cn/problems/shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof/) |\n| 最小的k个数 | 数组、分治、堆 | 简单 | 高 | [剑指 Offer 40](https://leetcode.cn/problems/zui-xiao-de-kge-shu-lcof/) |\n| 数据流中的第k大元素 | 堆、设计 | 简单 | 高 | [LeetCode 703](https://leetcode.cn/problems/kth-largest-element-in-a-stream/) |\n| 有效的括号 | 栈、字符串 | 简单 | 高 | [LeetCode 20](https://leetcode.cn/problems/valid-parentheses/) |\n| 反转链表 | 链表、递归 | 简单 | 高 | [LeetCode 206](https://leetcode.cn/problems/reverse-linked-list/) |\n| 合并两个有序链表 | 链表、递归 | 简单 | 高 | [LeetCode 21](https://leetcode.cn/problems/merge-two-sorted-lists/) |\n| 最大子数组和 | 数组、分治、动态规划 | 简单 | 高 | [LeetCode 53](https://leetcode.cn/problems/maximum-subarray/) |\n| 合并两个有序数组 | 数组、双指针 | 简单 | 高 | [LeetCode 88](https://leetcode.cn/problems/merge-sorted-array/) |\n| 两数相加 | 链表、数学 | 中等 | 高 | [LeetCode 2](https://leetcode.cn/problems/add-two-numbers/) |\n| 颜色分类 | 数组、双指针、排序 | 中等 | 高 | [LeetCode 75](https://leetcode.cn/problems/sort-colors/) |\n| 字符串解码 | 栈、字符串 | 中等 | 高 | [LeetCode 394](https://leetcode.cn/problems/decode-string/) |\n| 岛屿数量 | 深度优先搜索、广度优先搜索、并查集 | 中等 | 高 | [LeetCode 200](https://leetcode.cn/problems/number-of-islands/) |\n| 最长回文子串 | 字符串、动态规划 | 中等 | 高 | [LeetCode 5](https://leetcode.cn/problems/longest-palindromic-substring/) |\n| 复杂链表的复制 | 链表、哈希表 | 中等 | 高 | [剑指 Offer 35](https://leetcode.cn/problems/fu-za-lian-biao-de-fu-zhi-lcof/) |\n| 二叉搜索树的后序遍历序列 | 栈、树、二叉搜索树 | 中等 | 高 | [剑指 Offer 33](https://leetcode.cn/problems/er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof/) |\n| 把二叉树打印成多行 | 树、广度优先搜索 | 中等 | 中 | [剑指 Offer 32 - II](https://leetcode.cn/problems/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof/) |\n| 剪绳子 II | 数学、动态规划 | 中等 | 中 | [剑指 Offer 14 - II](https://leetcode.cn/problems/jian-sheng-zi-ii-lcof/) |\n| 无重复字符的最长子串 | 哈希表、字符串、滑动窗口 | 中等 | 高 | [LeetCode 3](https://leetcode.cn/problems/longest-substring-without-repeating-characters/) |\n| 二叉树的层序遍历 | 树、广度优先搜索 | 中等 | 高 | [LeetCode 102](https://leetcode.cn/problems/binary-tree-level-order-traversal/) |\n| 数组中的第K个最大元素 | 数组、堆、分治 | 中等 | 高 | [LeetCode 215](https://leetcode.cn/problems/kth-largest-element-in-an-array/) |\n| 重排链表 | 链表、栈 | 中等 | 中 | [LeetCode 143](https://leetcode.cn/problems/reorder-list/) |\n| 三数之和 | 数组、双指针 | 中等 | 高 | [LeetCode 15](https://leetcode.cn/problems/3sum/) |\n| 用栈实现队列 | 栈、设计 | 中等 | 中 | [LeetCode 232](https://leetcode.cn/problems/implement-queue-using-stacks/) |\n| 用队列实现栈 | 设计、队列 | 中等 | 中 | [LeetCode 225](https://leetcode.cn/problems/implement-stack-using-queues/) |\n| 删除链表的倒数第N个结点 | 链表、双指针 | 中等 | 高 | [LeetCode 19](https://leetcode.cn/problems/remove-nth-node-from-end-of-list/) |\n| 搜索旋转排序数组 | 数组、二分查找 | 中等 | 中 | [LeetCode 33](https://leetcode.cn/problems/search-in-rotated-sorted-array/) |\n| 最长公共子序列 | 数组、动态规划 | 中等 | 中 | [LeetCode 1143](https://leetcode.cn/problems/longest-common-subsequence/) |\n| 数字序列中某一位的数字 | 数学、二分查找 | 中等 | 中 | [剑指 Offer 44](https://leetcode.cn/problems/shu-zi-xu-lie-zhong-mou-yi-wei-de-shu-zi-lcof/) |\n| 编辑距离 | 字符串、动态规划 | 困难 | 中 | [LeetCode 72](https://leetcode.cn/problems/edit-distance/) |\n| 最长有效括号 | 字符串、栈、动态规划 | 困难 | 中 | [LeetCode 32](https://leetcode.cn/problems/longest-valid-parentheses/) |\n| 数据流的中位数 | 设计、堆 | 困难 | 中 | [LeetCode 295](https://leetcode.cn/problems/find-median-from-data-stream/) |\n| 寻找两个正序数组的中位数 | 数组、二分查找 | 困难 | 中 | [LeetCode 4](https://leetcode.cn/problems/median-of-two-sorted-arrays/) |\n| 柱状图中最大的矩形 | 栈、数组 | 困难 | 中 | [LeetCode 84](https://leetcode.cn/problems/largest-rectangle-in-histogram/) |\n| 天际线问题 | 树状数组、线段树、扫描线 | 困难 | 低 | [LeetCode 218](https://leetcode.cn/problems/the-skyline-problem/) |\n| 序列化二叉树 | 树、深度优先搜索、广度优先搜索 | 困难 | 低 | [剑指 Offer 37](https://leetcode.cn/problems/xu-lie-hua-er-cha-shu-lcof/) |\n| 最大矩形 | 栈、数组、动态规划 | 困难 | 低 | [LeetCode 85](https://leetcode.cn/problems/maximal-rectangle/) |\n\n\n\n## 🌐 刷题平台\n- [力扣 (LeetCode)](https://leetcode.cn/)\n- [牛客网](https://www.nowcoder.com/)\n- [acwing](https://www.acwing.com/problem/)\n\n## 🔗 资源说明\n\n本仓库题目数据来源于以下可靠渠道：\n- **LeetCode**：核心题库与原题链接。\n- **牛客网**：大厂笔试/面试真题复盘与变体描述。\n- **CodeTop**：高频题统计。\n\n**免责声明**：\n- 本仓库所有题目及相关内容仅用于学习交流，刷题时建议结合官方题解验证思路。\n- 资源整理过程中可能存在链接失效、信息误差等纰漏，若发现问题，欢迎在 Issue 中留言反馈，感谢你的指正与支持！\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0voice%2Fawesome-bigtech-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0voice%2Fawesome-bigtech-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0voice%2Fawesome-bigtech-algorithms/lists"}