Skip to content

Commit 7eaeed7

Browse files
committed
Runtime: 392 ms (Top 56.62%) | Memory: 107.3 MB (Top 79.45%)
1 parent 65c1d09 commit 7eaeed7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/M/Minimum Operations to Halve Array Sum/Minimum Operations to Halve Array Sum.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 392 ms (Top 56.62%) | Memory: 107.3 MB (Top 79.45%)
12
class Solution {
23
public int halveArray(int[] nums) {
34
PriorityQueue<Double> q = new PriorityQueue<>(Collections.reverseOrder());
@@ -16,4 +17,4 @@ public int halveArray(int[] nums) {
1617
}
1718
return res;
1819
}
19-
}
20+
}

0 commit comments

Comments
 (0)