Question: 1) In quick sort, one of the iterations, the array looks like this: 10 7 9 13 16 15 18 14 20 17. The pivot

1) In quick sort, one of the iterations, the array looks like this: 10 7 9 13 16 15 18 14 20 17. The pivot is

a. 15

b. 13

c. 16

d. 14

--------------------------------------

2) Let the permutation is 3 2 1 4 then the next permutation is

a. 2 3 1 4

b. 3 2 4 1

c. 2 3 1 4

d. 2 3 1 4

-----------------------------------------

3) The next lexicographic of the statement "ampusoma" is

a. "ampamosu"

b. "amsamopu"

c. "amsaupom"

d. "amsupoma"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!