面试官真是太资深,只有再深入学习才行了:
有n个台阶,青蛙一次只能跳1步到k步,请问有多少种跳法?
最长公共子序列 https://leetcode-cn.com/problems/longest-common-subsequence/
ref:https://blog.csdn.net/u010089444/article/details/70854510
给定一个二维的 0-1 矩阵,其中 0 表示海洋,1 表示陆地。单独的或相邻的陆地可以形成岛屿,每个格子只与其上下左右四个格子相邻。求最大的岛屿面积。
https://zhuanlan.zhihu.com/p/68358814
https://zhuanlan.zhihu.com/p/96229700
先序遍历和后序遍历为什么不能唯一地确定一棵树?:
开始自己写了一个全排列,不优雅。
https://blog.csdn.net/darkrabbit/article/details/89409548
介绍:
推荐阅读:
环形链表 https://leetcode-cn.com/problems/linked-list-cycle/
https://leetcode-cn.com/problems/trapping-rain-water/
https://leetcode-cn.com/problems/permutations/solution/quan-pai-lie-by-leetcode-solution-2/