public class LinkMethod {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
System.out.println("请输入一个数组,以空格分隔");
String[] numbersStr = sc.nextLine().split(" ");
int[] numbersArray = new int[numbersStr.length];
链表(头插法和尾插法)
于 2024-06-11 17:38:59 首次发布