An open API service indexing awesome lists of open source software.

https://github.com/zhangyu1818/leetcode-note

尝试微小的进步
https://github.com/zhangyu1818/leetcode-note

leetcode-swift

Last synced: 3 months ago
JSON representation

尝试微小的进步

Awesome Lists containing this project

README

        

# LeetCode 学习笔记

虽然以前立志学算法,不幸的是志向夭折了。

不知不觉又一个多月没有学习算法……

---

[2. 两数相加](https://github.com/zhangyu1818/LeetCode-Note/blob/main/2.%20%E4%B8%A4%E6%95%B0%E7%9B%B8%E5%8A%A0.swift)

[19. 删除链表的倒数第 N 个结点](https://github.com/zhangyu1818/LeetCode-Note/blob/main/19.%20%E5%88%A0%E9%99%A4%E9%93%BE%E8%A1%A8%E7%9A%84%E5%80%92%E6%95%B0%E7%AC%AC%20N%20%E4%B8%AA%E7%BB%93%E7%82%B9.swift)

[21. 合并两个有序链表](https://github.com/zhangyu1818/LeetCode-Note/blob/main/21.%20%E5%90%88%E5%B9%B6%E4%B8%A4%E4%B8%AA%E6%9C%89%E5%BA%8F%E9%93%BE%E8%A1%A8.swift)

[61. 旋转链表 ](https://github.com/zhangyu1818/LeetCode-Note/blob/main/61.%20%E6%97%8B%E8%BD%AC%E9%93%BE%E8%A1%A8%20.swift)

[83. 删除排序链表中的重复元素](https://github.com/zhangyu1818/LeetCode-Note/blob/main/83.%20%E5%88%A0%E9%99%A4%E6%8E%92%E5%BA%8F%E9%93%BE%E8%A1%A8%E4%B8%AD%E7%9A%84%E9%87%8D%E5%A4%8D%E5%85%83%E7%B4%A0.swift)

[94. 二叉树的中序遍历](https://github.com/zhangyu1818/LeetCode-Note/blob/main/94.%20%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E4%B8%AD%E5%BA%8F%E9%81%8D%E5%8E%86.swift)

[100. 相同的树 ](https://github.com/zhangyu1818/LeetCode-Note/blob/main/100.%20%E7%9B%B8%E5%90%8C%E7%9A%84%E6%A0%91%20.swift)

[101. 对称二叉树 ](https://github.com/zhangyu1818/LeetCode-Note/blob/main/101.%20%E5%AF%B9%E7%A7%B0%E4%BA%8C%E5%8F%89%E6%A0%91%20.swift)

[102. 二叉树的层序遍历](https://github.com/zhangyu1818/LeetCode-Note/blob/main/102.%20%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E5%B1%82%E5%BA%8F%E9%81%8D%E5%8E%86.swift)

[104. 二叉树的最大深度](https://github.com/zhangyu1818/LeetCode-Note/blob/main/104.%20%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E6%9C%80%E5%A4%A7%E6%B7%B1%E5%BA%A6.swift)

[105. 从前序与中序遍历序列构造二叉树](https://github.com/zhangyu1818/LeetCode-Note/blob/main/105.%20%E4%BB%8E%E5%89%8D%E5%BA%8F%E4%B8%8E%E4%B8%AD%E5%BA%8F%E9%81%8D%E5%8E%86%E5%BA%8F%E5%88%97%E6%9E%84%E9%80%A0%E4%BA%8C%E5%8F%89%E6%A0%91.swift)

[106. 从中序与后序遍历序列构造二叉树](https://github.com/zhangyu1818/LeetCode-Note/blob/main/106.%20%E4%BB%8E%E4%B8%AD%E5%BA%8F%E4%B8%8E%E5%90%8E%E5%BA%8F%E9%81%8D%E5%8E%86%E5%BA%8F%E5%88%97%E6%9E%84%E9%80%A0%E4%BA%8C%E5%8F%89%E6%A0%91.swift)

[112. 路径总和](https://github.com/zhangyu1818/LeetCode-Note/blob/main/112.%20%E8%B7%AF%E5%BE%84%E6%80%BB%E5%92%8C.swift)

[138. 复制带随机指针的链表](https://github.com/zhangyu1818/LeetCode-Note/blob/main/138.%20%E5%A4%8D%E5%88%B6%E5%B8%A6%E9%9A%8F%E6%9C%BA%E6%8C%87%E9%92%88%E7%9A%84%E9%93%BE%E8%A1%A8.swift)

[141. 环形链表](https://github.com/zhangyu1818/LeetCode-Note/blob/main/141.%20%E7%8E%AF%E5%BD%A2%E9%93%BE%E8%A1%A8.swift)

[142. 环形链表 II](https://github.com/zhangyu1818/LeetCode-Note/blob/main/142.%20%E7%8E%AF%E5%BD%A2%E9%93%BE%E8%A1%A8%20II.swift)

[144. 二叉树的前序遍历](https://github.com/zhangyu1818/LeetCode-Note/blob/main/144.%20%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E5%89%8D%E5%BA%8F%E9%81%8D%E5%8E%86.swift)

[145. 二叉树的后序遍历](https://github.com/zhangyu1818/LeetCode-Note/blob/main/145.%20%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E5%90%8E%E5%BA%8F%E9%81%8D%E5%8E%86.swift)

[160. 相交链表 ](https://github.com/zhangyu1818/LeetCode-Note/blob/main/160.%20%E7%9B%B8%E4%BA%A4%E9%93%BE%E8%A1%A8%20.swift)

[203. 移除链表元素 ](https://github.com/zhangyu1818/LeetCode-Note/blob/main/203.%20%E7%A7%BB%E9%99%A4%E9%93%BE%E8%A1%A8%E5%85%83%E7%B4%A0%20.swift)

[234. 回文链表](https://github.com/zhangyu1818/LeetCode-Note/blob/main/234.%20%E5%9B%9E%E6%96%87%E9%93%BE%E8%A1%A8.swift)

[328. 奇偶链表](https://github.com/zhangyu1818/LeetCode-Note/blob/main/328.%20%E5%A5%87%E5%81%B6%E9%93%BE%E8%A1%A8.swift)

[346. 数据流中的移动平均值](https://github.com/zhangyu1818/LeetCode-Note/blob/main/346.%20%E6%95%B0%E6%8D%AE%E6%B5%81%E4%B8%AD%E7%9A%84%E7%A7%BB%E5%8A%A8%E5%B9%B3%E5%9D%87%E5%80%BC.swift)

[430. 扁平化多级双向链表](https://github.com/zhangyu1818/LeetCode-Note/blob/main/430.%20%E6%89%81%E5%B9%B3%E5%8C%96%E5%A4%9A%E7%BA%A7%E5%8F%8C%E5%90%91%E9%93%BE%E8%A1%A8.swift)

[622. 设计循环队列](https://github.com/zhangyu1818/LeetCode-Note/blob/main/622.%20%E8%AE%BE%E8%AE%A1%E5%BE%AA%E7%8E%AF%E9%98%9F%E5%88%97.swift)

[707. 设计链表](https://github.com/zhangyu1818/LeetCode-Note/blob/main/707.%20%E8%AE%BE%E8%AE%A1%E9%93%BE%E8%A1%A8.swift)