how to convert from List<List<integer>> to List<Integer> java code example
Example: convert int array to integer list java
int[] arr = {1,2,3};
IntStream.of(arr).boxed().collect(Collectors.toList());
int[] arr = {1,2,3};
IntStream.of(arr).boxed().collect(Collectors.toList());