Contar el número de arreglos idénticos
Dados cuatro arreglos de enteros, devuelve cuántos arreglos pertenecen al grupo más grande de arreglos idénticos. Devuelve 0 cuando los cuatro arreglos sean diferentes.
Ejemplos
Program.countIdentical(new int[]{0, 0, 0}, new int[]{0, 1, 2}, new int[]{0, 0, 0}, new int[]{2, 1, 0}) ➞ 2
Program.countIdentical(new int[]{0, 1, 0}, new int[]{0, 1, 2}, new int[]{0, 2, 0}, new int[]{2, 1, 0}) ➞ 0