From 976b6174ebff9e4377ef44b6ec963c7eacb5b2f8 Mon Sep 17 00:00:00 2001 From: ImAlpha Date: Tue, 15 Aug 2023 22:23:03 -0700 Subject: [PATCH] changed output to solve 10/73 problems --- .../Arrays_and_Hashing/238_Product_of_Array_Except_Self.py | 1 + 1 file changed, 1 insertion(+) diff --git a/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py b/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py index 68a18d7..2ecf106 100644 --- a/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py +++ b/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py @@ -10,6 +10,7 @@ def productExceptSelf(nums): if firstHalf: product = firstHalf + secondHalf numsProduct.append(product) + return numsProduct print(productExceptSelf([1,2,3,4])) \ No newline at end of file