From 538d960044061a9428d87ea7519420c4c5727a41 Mon Sep 17 00:00:00 2001 From: Keqi Huang Date: Sun, 17 Mar 2019 19:46:32 +0800 Subject: [PATCH] Update 1014._Capacity_To_Ship_Packages_Within_D_Days.md --- .../Python/1014._Capacity_To_Ship_Packages_Within_D_Days.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Leetcode_Solutions/Python/1014._Capacity_To_Ship_Packages_Within_D_Days.md b/docs/Leetcode_Solutions/Python/1014._Capacity_To_Ship_Packages_Within_D_Days.md index a735075..1129fc5 100644 --- a/docs/Leetcode_Solutions/Python/1014._Capacity_To_Ship_Packages_Within_D_Days.md +++ b/docs/Leetcode_Solutions/Python/1014._Capacity_To_Ship_Packages_Within_D_Days.md @@ -61,7 +61,7 @@ Note: ## 解题方案 > 思路 1 -******- 时间复杂度: O(N)******- 空间复杂度: O(1)****** +******- 时间复杂度: O(N * lg(sum(weights) - max(weights))******- 空间复杂度: O(1)****** 开始的时候我题目没看清楚,诶,对于第一个例子。 ```Note that the cargo must be shipped in the order given, -- GitLab