Skip to content
Snippets Groups Projects
Forked from GOSSA JULIEN / P4a
31 commits ahead of the upstream repository.
MainLinkedListPersoRemoveFirstValue.java 378 B
package p4a;

public class MainLinkedListPersoRemoveFirstValue {
	public static void main(String[] args) {
		ArrayListPerso<Integer> arrayList = new ArrayListPerso<Integer>();
		int nbOperation = Integer.parseInt(args[0]);
		
		for (int i = 0; i < nbOperation; i++) {
			arrayList.ajout(0, i);
		}
		for (int i = 0; i < nbOperation; i++) {
			arrayList.suppression(0);
		}
	}
}