Skip to content

Commit aa998ec

Browse files
committed
Runtime: 13 ms (Top 30.48%) | Memory: 52.1 MB (Top 26.29%)
1 parent 4f28ef8 commit aa998ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/S/Single Number/Single Number.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 13 ms (Top 30.48%) | Memory: 52.1 MB (Top 26.29%)
12
class Solution {
23
public int singleNumber(int[] nums) {
34
Stack numStack = new Stack();
@@ -8,4 +9,4 @@ public int singleNumber(int[] nums) {
89
}
910
return (int) numStack.pop();
1011
}
11-
}
12+
}

0 commit comments

Comments
 (0)