- 博客(4)
- 收藏
- 关注
原创 merge sorted array
目录merge sorted array一、two array1.两个有序链表合并(LC21)2.两个有序array原地合并(LC88)3.隐藏的有序array合并(LC977)二、合并k个array(LC23)merge sorted array一、two array1.两个有序链表合并(LC21)1)题目Merge two sorted linked lists and return it as a sorted list. The list should be made by splicin
2021-10-30 05:34:00 288
原创 求变化序列的中位数
目录求变化序列的中位数一、数据流(LC 295)二、滑动窗口(LC 480)求变化序列的中位数一、数据流(LC 295)1.题目The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value and the median is the mean of the two middle values.For example, for a
2021-10-29 08:21:13 169
原创 continuous subarray 连续数组
continuous subarray一、连续数组的和1.等于target ( LC 560)2.连续和等于target的倍数(LC 523)3.连续和能够整除k(LC 974)4.最大subarray和(LC 53)二、连续数组的乘积1.小于target ( LC 713)2.最大连续乘积 ( LC 152)一、连续数组的和1.等于target ( LC 560)1)题目Given an array of integers nums and an integer k, return the tot
2021-10-26 04:42:15 356
原创 n数之和 Leetcode
n数之和一、两数之和( LC 1)1.题目2.思路3.题解二、三数之和(等于target)(LC 15)1.题目2.思路3.题解三、三数之和(最接近target)(LC 16)1.题目2.思路3.题解四、四数之和 (LC 18)1.题目2.思路3.题解五、四数之和(不同数组)(LC 454)1.题目2.思路3.题解六、总结一、两数之和( LC 1)1.题目Given an array of integers nums and an integer target, return indices of t
2021-10-10 09:41:44 618
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人