Contar o número de arrays idênticos
Dados quatro arrays de inteiros, retorne quantos arrays pertencem ao maior grupo de arrays idênticos. Retorne 0 quando os quatro arrays forem diferentes.
Exemplos
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