Array

Nannan Lv5

Array

数组的创建和初始化

1
2
int[] a = new int[n];
Array.fill(a,1);//全部初始化为1

List(链表数组)

1
List<Integer>[]g = new List[n];
  • Title: Array
  • Author: Nannan
  • Created at : 2024-03-17 19:22:00
  • Updated at : 2024-09-30 20:57:48
  • Link: https://redefine.ohevan.com/2024/03/17/五、array/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments