Skip to content

Commit 07ef751

Browse files
committed
Runtime: 2 ms (Top 8.87%) | Memory: 43.1 MB (Top 80.91%)
1 parent e4ec2da commit 07ef751

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/M/Minimum Distance to the Target Element/Minimum Distance to the Target Element.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 2 ms (Top 8.87%) | Memory: 43.1 MB (Top 80.91%)
12
class Solution {
23
public int getMinDistance(int[] nums, int target, int start) {
34
int ans = Integer.MAX_VALUE;
@@ -8,4 +9,4 @@ public int getMinDistance(int[] nums, int target, int start) {
89
}
910
return ans;
1011
}
11-
}
12+
}

0 commit comments

Comments
 (0)