What is the running time of the following code?
public static List<Integer> makeList( int N ){ ArrayList<Integer> 1st = new ArrayList<>( ); for( int i = 0; i<N; i++ ) { 1st.add( i ); 1st.trimToSize( ); }}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.