摘要: 对于复杂度为 \(O(n!)\) 的代码,以下估算其复杂度: \(\displaystyle\quad \lg n!\) \(\displaystyle =\sum_{i=1}^n \lg i\) \(\displaystyle =\sum_{i=1}^n{\ln i\over \ln 10}\) 阅读全文
posted @ 2020-05-29 11:05 JustinRochester 阅读(2241) 评论(0) 推荐(1) 编辑