mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-10 20:40:39 +08:00
update 0474.一和零 :添加复杂度分析
This commit is contained in:
@ -156,6 +156,11 @@ public:
|
|||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* 时间复杂度: O(kmn),k 为strs的长度
|
||||||
|
* 空间复杂度: O(mn)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 总结
|
## 总结
|
||||||
|
|
||||||
不少同学刷过这道题,可能没有总结这究竟是什么背包。
|
不少同学刷过这道题,可能没有总结这究竟是什么背包。
|
||||||
|
Reference in New Issue
Block a user