update 0046.全排列 :添加复杂度分析

This commit is contained in:
Yuhao Ju
2023-04-27 16:38:59 +08:00
committed by GitHub
parent 09975d3d38
commit 9d581e86fe

View File

@ -136,6 +136,8 @@ public:
}
};
```
* 时间复杂度: O(n!)
* 空间复杂度: O(n)
## 总结