We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31d10eb commit 08c9ee3Copy full SHA for 08c9ee3
product-of-array-except-self/Jeehay28.ts
@@ -1,6 +1,6 @@
1
// Approach 2
2
// 🗓️ 2025-04-08
3
-// ⏳ Time Complexity: O(n + n + n) = O(n)
+// ⏳ Time Complexity: O(n + n) = O(n)
4
// 💾 Space Complexity: O(1)
5
// result: required output → not counted
6
// before, after: two scalar variables → O(1)
0 commit comments