Skip to content

Commit ca1d77a

Browse files
authored
Create Readme.md
1 parent 9511544 commit ca1d77a

File tree

1 file changed

+3
-0
lines changed
  • DFS/2065.Maximum-Path-Quality-of-a-Graph

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### 2065.Maximum-Path-Quality-of-a-Graph
2+
3+
题意的约束中给出了```10 <= timej, maxTime <= 100```,这说明最多只能走10步。又因为There are at most four edges connected to each node,每一步出发最多只有四种选择,所以无脑搜索的话最多也只有4^10=1e6种可能。全部本题只要穷举所有的路径选择即可。

0 commit comments

Comments
 (0)