You are viewing a single comment's thread. Return to all comments →
This is my solution:
List elements = new ArrayList<>(); Scanner scan = new Scanner(System.in);
int size = scan.nextInt();
for(int i=0;i
Seems like cookies are disabled on this browser, please enable them to open this website
Java List
You are viewing a single comment's thread. Return to all comments →
This is my solution:
List elements = new ArrayList<>(); Scanner scan = new Scanner(System.in);
int size = scan.nextInt();
for(int i=0;i