mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 19:44:45 +08:00
update 0093.复原IP地址:添加复杂度分析
This commit is contained in:
@ -244,6 +244,8 @@ public:
|
||||
};
|
||||
|
||||
```
|
||||
* 时间复杂度: O(3^4),IP地址最多包含4个数字,每个数字最多有3种可能的分割方式,则搜索树的最大深度为4,每个节点最多有3个子节点。
|
||||
* 空间复杂度: O(n)
|
||||
|
||||
# 总结
|
||||
|
||||
|
Reference in New Issue
Block a user