import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Created by Lenovo on 2023/10/4. */ public class HackerRankTestCompa { public static void main(String[] args) { int[] intputRatingNumArr1={1,3,2}; int[] inputRatingNumArr2={3,0,21}; int[] ...