What is the largest size n of a problem that can solve in 1
second, assuming that the algorithm to solve the problem takes
sqrt(n) microseconds? (sqrt stands for square root)
1
10^(6)
10^(12)
10^(3)
How does the array arr = [8, 5, 3, 6, 10] look like after the
second iteration (when j = 3) of the j loop on line 1 of the give
pseudocode below?
insertion_sort.PNG
1 for j
2 do
3 // Insert A[j] into the...