@Test public void basicTest3() { int[] A = {2, 2, 4, 5, 7, 7, 8, 9, 1, 1, 0, -1, -2, -3, -3, -5, -6, -7, -8}; int[] res = DecimalDominants.getEleOccurMoreThanOneOfTen(A); Arrays.sort(res); Assert.assertArrayEquals(new int[]{-3, 1, 2, 7}, res); }
public static int[] getEleOccurMoreThanOneOfTen(int[] arr) { return convertToIntArray(getOccurMoreThanOneOfK(arr, 10)); }
DecimalDominants { public static int[] getEleOccurMoreThanOneOfTen(int[] arr) { return convertToIntArray(getOccurMoreThanOneOfK(arr, 10)); } }
DecimalDominants { public static int[] getEleOccurMoreThanOneOfTen(int[] arr) { return convertToIntArray(getOccurMoreThanOneOfK(arr, 10)); }  }
DecimalDominants { public static int[] getEleOccurMoreThanOneOfTen(int[] arr) { return convertToIntArray(getOccurMoreThanOneOfK(arr, 10)); }  static int[] getEleOccurMoreThanOneOfTen(int[] arr); }
DecimalDominants { public static int[] getEleOccurMoreThanOneOfTen(int[] arr) { return convertToIntArray(getOccurMoreThanOneOfK(arr, 10)); }  static int[] getEleOccurMoreThanOneOfTen(int[] arr);  }