Kaka777
Kaka777
全部文章
分类
个人题解笔记(1)
题解(12)
归档
标签
去牛客网
登录
/
注册
Kaka777的博客
全部文章
(共13篇)
题解 | #括号生成#
Backtracking is also DFS but it is a little bit different from DFS. the nuance is we backtrack to the previous level of the tree so we have pop-off ac...
backtrack
dfs
Python
2021-08-05
0
295
题解 | #岛屿数量#
DFS: once '1' is found then trigger dfs() to search all adjacent '1' and flip them as '0', since all adjacent '1' are regarded as one island. Use for ...
dfs
python
2021-08-05
0
393
题解 | #实现二叉树先序,中序和后序遍历#
Binary Tree Traversal: recursion class Solution: def threeOrders(self , root ): &...
recursion
Python
2021-08-05
0
300
首页
上一页
1
2
下一页
末页