Leetcode刷题记录

1.数组与链表

206. 反转链表 - 力扣(LeetCode) (leetcode-cn.com)

24. 两两交换链表中的节点 - 力扣(LeetCode) (leetcode-cn.com)

141. 环形链表 - 力扣(LeetCode) (leetcode-cn.com)

142. 环形链表 II - 力扣(LeetCode) (leetcode-cn.com)

2.栈与队列

20. 有效的括号 - 力扣(LeetCode) (leetcode-cn.com)

有效的括号_一只禾的博客-CSDN博客

232. 用栈实现队列 - 力扣(LeetCode) (leetcode-cn.com)

225. 用队列实现栈 - 力扣(LeetCode) (leetcode-cn.com)

3.优先队列与堆

703. 数据流中的第 K 大元素 - 力扣(LeetCode) (leetcode-cn.com)

数据流中的第 K 大元素_一只禾的博客-CSDN博客

239. 滑动窗口最大值 - 力扣(LeetCode) (leetcode-cn.com)

滑动窗口最大值_一只禾的博客-CSDN博客

4.哈希表(Map与Set)

242. 有效的字母异位词 - 力扣(LeetCode) (leetcode-cn.com)

有效的字母异位词_一只禾的博客-CSDN博客

1. 两数之和 - 力扣(LeetCode) (leetcode-cn.com)

两数之和【无序】_一只禾的博客-CSDN博客

15. 三数之和 - 力扣(LeetCode) (leetcode-cn.com)

三数之和【无重复】_一只禾的博客-CSDN博客

1995. 统计特殊四元组 - 力扣(LeetCode) (leetcode-cn.com)

统计特殊四元组_一只禾的博客-CSDN博客

5.树

98. 验证二叉搜索树 - 力扣(LeetCode) (leetcode-cn.com)

验证二叉搜索树_一只禾的博客-CSDN博客

236. 二叉树的最近公共祖先 - 力扣(LeetCode) (leetcode-cn.com)​​​​​​

235. 二叉搜索树的最近公共祖先 - 力扣(LeetCode) (leetcode-cn.com)

 二叉搜索树的最近公共祖先_一只禾的博客-CSDN博客

字典树(Trie)_一只禾的博客-CSDN博客


 

1.递归与分治

50. Pow(x, n) - 力扣(LeetCode) (leetcode-cn.com)

Pow(x, n)_一只禾的博客-CSDN博客

169. 多数元素 - 力扣(LeetCode) (leetcode-cn.com)

多数元素-众数_一只禾的博客-CSDN博客

2.贪心算法

122. 买卖股票的最佳时机 II - 力扣(LeetCode) (leetcode-cn.com)

Leetcode-买卖股票的时机_一只禾的博客-CSDN博客

3.BFS与DFS

102. 二叉树的层序遍历 - 力扣(LeetCode) (leetcode-cn.com)

二叉树的层序遍历_一只禾的博客-CSDN博客

N皇后问题_一只禾的博客-CSDN博客

4.位运算

位1的个数,2的幂,比特数记位_一只禾的博客-CSDN博客

5.动态规划

​​​​​​70. 爬楼梯 - 力扣(LeetCode) (leetcode-cn.com)​​​​​​‘

120. 三角形最小路径和 - 力扣(LeetCode) (leetcode-cn.com)

152. 乘积最大子数组 - 力扣(LeetCode) (leetcode-cn.com)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值