Question: 1). Create a Map that can hold student IDs and student names. Add 6 students to the map. Test your program and take screenshorts; 2).

1). Create a Map that can hold student IDs and student names. Add 6 students to the map. Test your program and take screenshorts; 2). What is the Big-O notation for the following code? for (int i=n; i>=0; i--) { k = 1; while (k= 0 && list[k] > currentElement; k--) { list[k + 1] = list[k]; } // Insert the current element into list[k+1] list[k + 1] = currentElement; } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
