Kaka777
Kaka777
全部文章
题解
个人题解笔记(1)
归档
标签
去牛客网
登录
/
注册
Kaka777的博客
全部文章
/ 题解
(共2篇)
题解 | #括号生成#
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
375
题解 | #岛屿数量#
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
493