LeetCode
文章平均质量分 92
定个小目标,刷穿 LeetCode!
柃歌
夏天的海边有冰淇淋口味的海风
展开
-
【LeetCode算法系列题解】第76~80题
【LeetCode算法系列题解】第76~80题原创 2023-10-02 17:50:53 · 208 阅读 · 0 评论 -
【LeetCode算法系列题解】第71~75题
【LeetCode算法系列题解】第71~75题原创 2023-09-27 17:06:46 · 187 阅读 · 0 评论 -
【LeetCode算法系列题解】第66~70题
【LeetCode算法系列题解】第66~70题原创 2023-09-26 20:30:21 · 178 阅读 · 0 评论 -
【LeetCode算法系列题解】第61~65题
【LeetCode算法系列题解】第61~65题。原创 2023-09-06 22:45:26 · 957 阅读 · 0 评论 -
【LeetCode算法系列题解】第56~60题
【LeetCode算法系列题解】第56~60题。原创 2023-09-05 22:40:46 · 260 阅读 · 0 评论 -
【LeetCode算法系列题解】第51~55题
【LeetCode算法系列题解】第51~55题。原创 2023-09-04 16:01:08 · 474 阅读 · 1 评论 -
【LeetCode算法系列题解】第46~50题
【LeetCode算法系列题解】第46~50题。原创 2023-09-02 13:13:07 · 648 阅读 · 0 评论 -
【LeetCode算法系列题解】第41~45题
【LeetCode算法系列题解】第41~45题。原创 2023-09-01 22:02:17 · 468 阅读 · 0 评论 -
【LeetCode算法系列题解】第36~40题
【LeetCode算法系列题解】第36~40题。原创 2023-09-01 00:12:52 · 459 阅读 · 0 评论 -
【LeetCode算法系列题解】第31~35题
【LeetCode算法系列题解】第31~35题。原创 2023-08-31 15:30:22 · 632 阅读 · 0 评论 -
【LeetCode算法系列题解】第26~30题
【LeetCode算法系列题解】第26~30题。原创 2023-08-30 16:30:35 · 301 阅读 · 0 评论 -
【LeetCode算法系列题解】第21~25题
【LeetCode算法系列题解】第21~25题。原创 2023-08-29 17:53:45 · 512 阅读 · 0 评论 -
【LeetCode算法系列题解】第16~20题
【LeetCode算法系列题解】第16~20题。原创 2023-08-29 14:09:47 · 391 阅读 · 0 评论 -
【LeetCode算法系列题解】第11~15题
【LeetCode算法系列题解】第11~15题。原创 2023-08-28 16:11:34 · 399 阅读 · 0 评论 -
【LeetCode算法系列题解】第6~10题
【LeetCode算法系列题解】第6~10题。原创 2023-08-28 11:17:30 · 344 阅读 · 0 评论 -
【LeetCode算法系列题解】第1~5题
【LeetCode算法系列题解】第1~5题。原创 2023-08-27 20:14:59 · 296 阅读 · 0 评论 -
LeetCode 456. 132模式(单调栈)
【题目描述】给你一个整数数组nums,数组中共有nnn个整数。132132132模式的子序列由三个整数nums[i]、nums[j]和nums[k]组成,并同时满足:i<j<ki<j<ki<j<k和nums[i]<nums[k]<nums[j]nums[i]<nums[k]<nums[j]nums[i]<nums[k]<nums[j]。如果nums中存在132132132模式的子序列,返回true;否则,返回false。【示例1】原创 2022-03-15 10:38:54 · 819 阅读 · 0 评论 -
LeetCode 92. 反转链表 II
【题目描述】给你单链表的头指针head和两个整数left和right,其中left <= right。请你反转从位置left到位置right的链表节点,返回反转后的链表。【示例1】输入:head = [1,2,3,4,5], left = 2, right = 4输出:[1,4,3,2,5]【示例2】输入:head = [5], left = 1, right = 1输出:[5]【提示】链表中节点数目为nnn1≤n≤5001\le n\le 5001≤n≤500−500≤N原创 2022-03-03 16:10:29 · 472 阅读 · 0 评论