–1 votes –1 votes Which of the following is/are the status of the array after some iteration of a sorting algorithm, which sorting algorithm it might be? 14 42 17 72 12 10 5 1 1. Heap sort 2. Merge sort 3. Selection sort 4. Insertion sort Anuj1995 asked Aug 30, 2018 Anuj1995 779 views answer comment Share Follow See all 11 Comments See all 11 11 Comments reply Show 8 previous comments Shaik Masthan commented Aug 31, 2018 reply Follow Share if it is more than one iteration, then Mergesort can't be the answer. ( i am considering single element passes on 1st iteration ) 0 votes 0 votes MiNiPanda commented Aug 31, 2018 reply Follow Share May be the array was initially like 42 14 72 17 12 10 5 1 (there might be other possibilites) If merge sort is also an answer then I guess the Division part of the divide and conquer mechanism has been done and then Merge is called for 2 times i.e. for merging (42),(14) to make it sorted to (14,42) and on (72),(17) to make it (17,72). 0 votes 0 votes sakharam commented Aug 31, 2018 reply Follow Share Yes but only if they are using recursion Since they said iterations i assumed that iterative merge sort is used in which in first iteration pairs are sorted 0 votes 0 votes Please log in or register to add a comment.