Question: 1) Which is a reasonable choice for gap values, given an input array of a size 75? 1,3,7,15,31 O 31, 15, 7,3,1 O 1,2,3 2)

1) Which is a reasonable choice for gap values, given an input array of a size 75? 1,3,7,15,31 O 31, 15, 7,3,1 O 1,2,3 2) If shellSort() is run with an input array of size 20 and a gap values array of {15, 7, 3, 1), how many times will insertionSortinterleaved() be called? 80 4 26 1) insertionSort() is the same as insertionSortinterleaved with a gap space of 1. O True False 2) If the insertionSortinterleaved method runs with an array of size 10, startindex assigned with 2, and gap assigned with 3, then the loop variable i will be assigned with the values 2,5, and 8. O True False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
