摘要:
import java.util.ArrayList; public class Main { public static void main(String[] args) { Integer[] nums = new Integer[]{3, 5, 2, 8, 4}; // 差异值 》异或运算 ^ 阅读全文
摘要:
import java.util.Arrays; import java.util.Objects; import java.util.stream.Collectors; public class Main { public static void main(String[] args) { In 阅读全文
摘要:
import java.util.ArrayList; import java.util.TreeMap; import java.util.stream.IntStream; public class Main { public static void main(String[] args) { 阅读全文
摘要:
import java.util.Comparator; import java.util.HashSet; import java.util.stream.IntStream; public class Main { public static void main(String[] args) { 阅读全文
摘要:
import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; public class Main { public static void main(String[] args) 阅读全文