Skip to content

Commit 2abbfab

Browse files
committed
add comments
1 parent 84dfc01 commit 2abbfab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

product-of-array-except-self/tedkimdev.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
package productofarrayexceptself
2-
1+
// TC: O(n)
2+
// SC: O(n)
33
func productExceptSelf(nums []int) []int {
44
result := make([]int, 0)
55

0 commit comments

Comments
 (0)