We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f7ff6 commit 5436659Copy full SHA for 5436659
src/main/java/com/fishercoder/solutions/_1200.java
@@ -34,7 +34,7 @@
34
public class _1200 {
35
public static class Solution1 {
36
/**
37
- * Time: O(n)
+ * Time: O(nlogn) due to sorting
38
* Space: O(k) where k is the distinct number of differences between two numbers in the given array
39
* */
40
public List<List<Integer>> minimumAbsDifference(int[] arr) {
0 commit comments