Skip to content

Commit 71566c7

Browse files
committed
Runtime: 11 ms (Top 85.53%) | Memory: 42.5 MB (Top 53.95%)
1 parent c6d5ee2 commit 71566c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/A/Allocate Mailboxes/Allocate Mailboxes.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 11 ms (Top 85.53%) | Memory: 42.5 MB (Top 53.95%)
12
class Solution {
23
public int minDistance(int[] houses, int k) {
34
Arrays.sort(houses);
@@ -20,4 +21,4 @@ public int minDistance(int[] houses, int k) {
2021
}
2122
return dp[n-1];
2223
}
23-
}
24+
}

0 commit comments

Comments
 (0)