Computers and Technology
Suppose the array begins with 0, followed by the remaining even numbers in ascending order, followed by the odd numbers in descending order. (For n = 8, the array would be [0,2,4,6,8,7,5,3,1].)How many comparisons will insertion sort perform while sorting this array? (Do not assume n = 8.)
question 3 fill in the blank: in the following spreadsheet, the feature was used to alphabetize the city names in column b. a b c d 1 rank name population county 2 7 cary 170,282 wake, chatham 3 1 charlotte 885,708 mecklenburg 4 10 concord 96,341 cabarrus 5 4 durham 278,993 durham (seat), wake, orange 6 6 fayetteville 211,657 cumberland 7 3 greensboro 296,710 guilford 8 9 high point 112,791 guilford, randolph, davidson, forsyth 9 2 raleigh 474,069 wake (seat), durham 10 8 wilmington 123,784 new hanover 11 5 winston-salem 247,945 forsyth 1 point randomize range sort range name range organize range