Advanced Algorithm Q.15

0. 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 *