Skip to content

zjc17/4-Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4-Leetcode

进入后直接搜索题号即可

001 - 100

题号 题目 考点
001 两数和
Two Sums
【Hash Table】
005 两数和
Two Sums
【动态规划】
007 整数反转
Reverse Integer
【栈】 【纯数学】
053 最大子序和
Maximum Subarray
【分治】 【动态规划】
062 不同路径
Unique path
【简单动态规划 】 【纯数学】
094 二叉树的中序遍历
Binary Tree Inorder Traversal
【中序遍历-递归】 【中序遍历-迭代】

101 - 200

题号 题目 考点
101 对称二叉树
Symmetric Tree
【Level Tranversal of Tree】
102 二叉树的层次遍历
Binary Tree Level Order Traversal
【层次遍历-迭代】 【层次遍历-递归】
108 将有序数组转换为二叉搜索树
Convert Sorted Array to Binary Search Tree
【递归-分治思想】
124 二叉树中的最大路径和
Binary Tree Maximum Path Sum
【后序遍历】 【动态规划】
145 二叉树的后序遍历
Binary Tree Postorder Traversal
【后序遍历-递归】 【后序遍历-迭代】
【后序遍历-先序的变异】

201 - 300

题号 题目 考点

301 - 900

题号 题目 考点
312 戳气球
Burst Balloon
【DP】 【分治】
547 朋友圈
Friend Circles
【并查集】 【DFS】
881 救生艇
Boats To Save People
【双指针】 【桶排序】

901-1000

题号 题目 考点
922 按奇偶排序数组 II
Sort Array By Parity II
【双指针】
923 三数之和的多种可能
3Sum With Multiplicity
【双指针】 【桶排序】
958 二叉树的完全性检验
Check Completeness of a Binary Tree
【层级遍历 - 迭代】 【层级遍历 - 递归】
965 单值二叉树
Univalued Binary Tree
【Tranversal of Tree】
967 连续差相同的数字
Numbers With Same Consecutive Differences
【递归】
968 监控二叉树
Binary Tree Cameras
【DFS】 【动态规划】
969 煎饼排序
Pancake Sorting
【双指针(BF)】
970 强整数
Powerful Integers
971 翻转二叉树以匹配先序遍历
Flip Binary Tree To Match Preorder Traversal
【先序遍历】
973 最接近原点的K个点
K Closest Points to Origin
【Min-Heap】
978 最长湍流子数组
Longest Turbulent Subarray
983 最低票价
Minimum Cost For Tickets
【动态规划】

1000-1100

题号 题目 考点
1041 困于环中的机器人
Robot Bounded In Circle
【数组】
1042 不邻接植花
Flower Planting With No Adjacent
【图】【Map】【数组】
1043 分隔数组以得到最大和
Partition Array for Maximum Sum
【动态规划】

1046 最后一块石头的重量
Last Stone Weight
【堆】
【优先队列】
1047 删除字符串中的所有相邻重复项
Remove All Adjacent Duplicates In String
【栈】
1048 最长字符串链
Longest String Chain
【动态规划】
1049 最后一块石头的重量 II
Last Stone Weight II
【动态规划】
1051 高度检查器
Height Checker
【汉明距离】
1052 爱生气的书店老板
Grumpy Bookstore Owner
【动态规划】
1053 交换一次的先前排列
Previous Permutation With One Swap
【字典序】
1054 距离相等的条形码
Distant Barcodes


1089 复写零
Duplicate Zeros
【双指针】
1090 受标签影响的最大值
Largest Values From Labels
【贪心】
1091 二进制矩阵中的最短路径
Shortest Path in Binary Matrix
【BFS】

5000-5100

题号 题目 考点
5008 不动点
Fixed Point
【数组】
5010 范围内的数字计数
Digit Count in Range
【数学规律】
5013 字符串的索引对
Index Pairs of a String
【字符串匹配】

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages