We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f28ef8 commit aa998ecCopy full SHA for aa998ec
scripts/algorithms/S/Single Number/Single Number.java
@@ -1,3 +1,4 @@
1
+// Runtime: 13 ms (Top 30.48%) | Memory: 52.1 MB (Top 26.29%)
2
class Solution {
3
public int singleNumber(int[] nums) {
4
Stack numStack = new Stack();
@@ -8,4 +9,4 @@ public int singleNumber(int[] nums) {
8
9
}
10
return (int) numStack.pop();
11
-}
12
+}
0 commit comments