博主头像
7024w的自留地

觉宇宙之无穷,识盈虚之有数

位运算代码

import java.util.Arrays; import java.util.Random; public class 位运算 { public static void main(String[] args) { //数中唯一重复的数 int[] arr = new int[1001]; for (int i = 0; i < 1000; i++) {

单链表代码

public class SList { public static void main(String[] args) { Integer[] test = new Integer[]{1,2,3,4,5}; SinglyList<Integer> t1 = new SinglyList<Integer>(test); System.out.pri