package nowcoder.zte; import java.util.Arrays; public class Q3 { public static void main(String[] args) { int n = 4, P = 3, Q = 1; int[] arr = {9, 8, 2, 5}; System.out.println(getMinCount(n, P, Q, arr)); } private static int getMinCount(int n, int p, int q, int...