update 0056.合并区间:添加复杂度分析

This commit is contained in:
Yuhao Ju
2023-04-11 00:41:40 +08:00
committed by GitHub
parent 4c7464fa93
commit ff77937816

View File

@ -73,6 +73,10 @@ public:
};
```
* 时间复杂度: O(nlogn)
* 空间复杂度: O(logn),排序需要的空间开销
## 其他语言版本