Contents
我的Leetcode刷题思路整理:
2.两数相加
3.无重复字符的最长字串
5.最长回文字串
49.字母异位词分组
53.最大子序和
62.不同路径
64.最小路径和
70.爬楼梯
94.二叉树的中序遍历
96.不同的二叉搜索树
98.验证二叉搜索树
101.对称二叉树
102.二叉树的层序遍历
104.二叉树的最大深度
105.从前序遍历与中序遍历构造二叉树
114.二叉树展开为链表
121.买卖股票的最佳时机
139.单词拆分
144.二叉树的前序遍历
152.乘积最大子数组
198.打家劫舍
200.岛屿数量
207.课程表
221.最大正方形
226.翻转二叉树
279.完全平方数
300.最大上升子序列
309.最佳买卖股票时机含冷冻期
322.零钱兑换
338.比特位计数
416.分割等和子集
494.目标和
617.合并二叉树
647.回文子串
Recursive递归的思路
如何建立二叉树?
由0-1背包问题引出的动态规划-总结
题型归纳