What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-17 05:30:16
when to use list
When to use List, Set and Map? If we need to access elements frequently by using index, then List is a way to go ArrayList provides faster access if we know index. If we want to store elements and want them to maintain an order, then go for List again. ... Add solution -
Java 2022-02-02 18:36:57
arrayList sans doubles
import java.util.ArrayList; import java.util.Set; import java.util.List; import java.util.HashSet; public class Doublon { public static void main(String[] argv) { // Créer un objet ArrayList List<String> array... Add solution