We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86bf3e0 commit ba6e544Copy full SHA for ba6e544
src/SignOfTheProductOfAnArray.java
@@ -1,3 +1,7 @@
1
+// https://leetcode.com/problems/sign-of-the-product-of-an-array
2
+// T: O(N)
3
+// S: O(1)
4
+
5
public class SignOfTheProductOfAnArray {
6
public int arraySign(int[] nums) {
7
int sign = 1;
0 commit comments