数据结构与算法面试题
2023-05-10 00:25:18 0 举报
AI智能生成
数据结构与算法面试题
作者其他创作
大纲/内容
https://leetcode-cn.com/problems/search-insert-position/
搜索插入位置
https://leetcode-cn.com/problems/remove-element/
移除元素
https://leetcode-cn.com/problems/ransom-note/
赎金信
https://leetcode-cn.com/problems/minimum-size-subarray-sum/
长度最小的子数组
https://leetcode-cn.com/problems/spiral-matrix-ii/
螺旋矩阵
数组
https://leetcode-cn.com/problems/reverse-linked-list/
反转一个单链表
https://leetcode-cn.com/problems/swap-nodes-in-pairs/
两两交换链表中的节点
https://leetcode-cn.com/problems/linked-list-cycle/
判断链表是否有环
https://leetcode-cn.com/problems/linked-list-cycle-ii/
环形链表
https://leetcode-cn.com/problems/reverse-nodes-in-k-group/?utm_source=LCUS&utm_medium=ip_redirect&utm_campaign=transfer2china
k个一组翻转链表
链表
https://leetcode-cn.com/problems/implement-queue-using-stacks/
栈实现队列
https://leetcode-cn.com/problems/valid-parentheses/
有效的括号
堆栈
https://leetcode-cn.com/problems/implement-stack-using-queues/description/?utm_source=LCUS&utm_medium=ip_redirect&utm_campaign=transfer2china
用队列实现栈
https://leetcode-cn.com/problems/kth-largest-element-in-a-stream/discuss/149050/Java-Priority-Queue/
数据流中的第 K 大元素
https://leetcode-cn.com/problems/sliding-window-maximum/
滑动窗口最大值
优先队列
队列
https://leetcode-cn.com/problems/valid-anagram/description/?utm_source=LCUS&utm_medium=ip_redirect&utm_campaign=transfer2china
有效的字母异位词
https://leetcode-cn.com/problems/two-sum/description/
两数之和
https://leetcode-cn.com/problems/3sum/description/
三数之和
https://leetcode-cn.com/problems/4sum/
四数之和
https://leetcode-cn.com/problems/group-anagrams/description/
字母异位词分组
哈希表
https://leetcode-cn.com/problems/binary-tree-preorder-traversal/
https://leetcode-cn.com/problems/binary-tree-inorder-traversal/
https://leetcode-cn.com/problems/vertical-order-traversal-of-a-binary-tree/
https://leetcode-cn.com/problems/binary-tree-postorder-traversal/
遍历
二叉树
https://leetcode-cn.com/problems/validate-binary-search-tree/?utm_source=LCUS&utm_medium=ip_redirect&utm_campaign=transfer2china
验证二叉搜索树
https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree/
二叉搜索树的最近公共祖先
https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/
二叉树的最近公共祖先
二叉搜索
https://leetcode-cn.com/problems/implement-trie-prefix-tree/#/description
实现 Trie (前缀树)
https://leetcode-cn.com/problems/word-search-ii/
单词搜索II
系统设计: search suggestion 搜索建议
字典树
树
广度优先
深度优先
https://leetcode-cn.com/problems/binary-tree-level-order-traversal/
二叉树的层序遍历
https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/?utm_source=LCUS&utm_medium=ip_redirect&utm_campaign=transfer2china
二叉树的最大深度
https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/description/
二叉树的最小深度
https://leetcode-cn.com/problems/generate-parentheses/
括号生成
图
https://leetcode-cn.com/problems/powx-n/description/
https://leetcode-cn.com/problems/majority-element/description/
多数元素
https://leetcode-cn.com/problems/maximum-subarray/description/
最大子序和
https://leetcode-cn.com/problems/valid-anagram/#/description
有效的字母异位词
https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/#/description
找到字符串中所有字母异位词
递归
分治
回溯
https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii/description/
买卖股票的最佳时机 II
https://leetcode-cn.com/problems/lemonade-change/description/
柠檬水找零
https://leetcode-cn.com/problems/assign-cookies/description/
分发饼干
https://leetcode-cn.com/problems/walking-robot-simulation/description/
模拟行走机器人
贪心
https://leetcode-cn.com/problems/climbing-stairs/description/
爬楼梯
https://leetcode-cn.com/problems/triangle/description/
三角形最小路径和
https://leetcode-cn.com/problems/maximum-product-subarray/description/
乘积最大子数组
https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/#/description
买卖股票的最佳时机
https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-ii/
买卖股票的最佳时机 II
https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iii/
买卖股票的最佳时机 III
https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-iv/
买卖股票的最佳时机 IV
https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
最佳买卖股票时机含冷冻期
https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/
买卖股票的最佳时机含手续费
https://leetcode-cn.com/problems/longest-increasing-subsequence/
最长递增子序列
https://leetcode-cn.com/problems/coin-change/
h4 data-cypress=\"QuestionTitle\" class=\"css-10c1h40-Title eugt34i1\" style=\
https://leetcode-cn.com/problems/edit-distance/
编辑距离
动态规划
算法基本思想
https://leetcode-cn.com/problems/n-queens/
N 皇后
https://leetcode-cn.com/problems/n-queens-ii/
N皇后 II
https://leetcode-cn.com/problems/valid-sudoku/description/
https://leetcode-cn.com/problems/sudoku-solver/#/description
剪枝
https://leetcode-cn.com/problems/sqrtx/
x 的平方根
https://leetcode-cn.com/problems/valid-perfect-square/
有效的完全平方数
https://www.beyond3d.com/content/articles/8/
扩展阅读
二分查找
快速排序、归并排序、堆排序,外部排序有基数排序(桶排序)
排序
https://leetcode-cn.com/problems/number-of-1-bits/
位1的个数
https://leetcode-cn.com/problems/power-of-two/
2的幂
https://leetcode-cn.com/problems/counting-bits/description/
比特位计数
https://leetcode-cn.com/problems/n-queens-ii/description/
N皇后 II
位运算
https://leetcode-cn.com/problems/number-of-islands/
岛屿数量
https://leetcode-cn.com/problems/number-of-provinces/
省份数量
并查集
https://leetcode-cn.com/problems/lru-cache/#/
LRU 缓存机制
https://zh.wikipedia.org/wiki/%E5%BF%AB%E5%8F%96%E6%96%87%E4%BB%B6%E7%BD%AE%E6%8F%9B%E6%A9%9F%E5%88%B6
LRU Cache
布隆过滤器
https://mp.weixin.qq.com/s/3LR-iVC4zgj0tGhZ780PcQ
数据结构与算法面试题
0 条评论
回复 删除
下一页