Data Structures and Algorithms - Advanced Algorithm

11. The time taken by an odd even merge network that merges two sorted arrays of size 64 each is ____________.

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


12. A 2-D array of log log n rows and n/log log n columns have processors marching down the columns, one position per step. Each array element holds an integer in [1, log log n].
In the first step, elements of value 1 in row-1 are processed

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


13. Which of the following is a bitonic sequence?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


14. When OEM network is invoked on the two sorted sequences 4, 8, 9, 14 and 3, 7, 10, 11, then the sequence produced before the final step is ___________.

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


15. When a purported sorting algorithm is run on input 4 3 8 10 9 11 14 7, the output is not sorted. The smallest element that appears out of order is 8. Which of the following is a binary sequence guaranteed to fail the algorithm?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *