update: 除自身以外数组的乘积

This commit is contained in:
yige committed 2020-06-04 15:43:16 +08:00
1 parent 8da050ef53
commit fbe2ab8fb8
1 file changed
+2
@@ -19,3 +19,5 @@ export const productExceptSelf = function (nums) {
return ans return ans
} }
// 此算法效率不高,请勿仿照作者偷懒