문제 유형Binary Search작성 코드import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class Main { public static int N; public static long[] given; public static List dynamic; public static int getIndex(long num) { int right = dynamic.size() - 1; int left = 0; int center; while (left = num) { right = center - 1; ..