chengfpvoid / algorithm-notes

my algorithm notes that has some answers and notes to leetcode questions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

算法代码

1 数组 链表 栈和队列

easy题

加1

合并2个有序链表

2 前缀和 差分 双指针 滑动窗口 单调栈和单调队列

medium题

和为k的子数组

3 哈希表 集合 映射

easy题

子域名访问计数

4 递归 分治

hard题

合并K个升序链表

5 树和图

medium题

从中序与后序遍历序列构造二叉树

6 DFS与BFS

medium题

课程表II

被围绕的区域

7 二叉堆与二叉搜索树

medium题

设计推特

8 二分查找

medium题

在 D 天内送达包裹的能力

爱吃香蕉的珂珂

hard题

寻找旋转排序数组中的最小值 II

9 贪心

10 动态规划

easy题

爬楼梯

medium题

完全平方数

14 字典树和并查集

medium题

冗余链接

岛屿数量

18 二叉平衡树和跳跃表

二叉平衡树

滑动窗口最大值(Hard)

邻值查找(Medium)

About

my algorithm notes that has some answers and notes to leetcode questions


Languages

Language:Java 100.0%