摘要: 1. return it modulo 10^9 + 7 to prevent large result: => int mod = 1_000_000_007; then result %= mod 2. Top-down memorization: memo几维一般看dfs()里面有几个变量+1 阅读全文
posted @ 2023-07-03 02:39 PEAR2020 阅读(9) 评论(0) 推荐(0) 编辑