public interface InversionCounter { int countInversions(int[] rij); }