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

This commit is contained in:
yi-ge 2020-06-04 13:31:06 +08:00
parent 8da050ef53
commit fbe2ab8fb8

View File

@ -19,3 +19,5 @@ export const productExceptSelf = function (nums) {
return ans
}
// 此算法效率不高,请勿仿照作者偷懒