1 1 vote Why option (A) is not correct ? Algorithms sorting insertion-sort selection-sort nptel-quiz + – mcjoshi 1.6k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote I think the answer has to be (B) or (D) because the statment "Quick sort always takes less than 1 sec " is false due to max time complexity of $n^{2}$. Now, selection sort always runs in $n^{2}$ time. So, (D) is discarded, atleast partially. So, I think answer is (B). The other reason is for (A) to be wrong choice for this question is Merge sort is taking 0.2 sec while selection sort is taking 2.77 hrs. Sushant Gokhale answered Aug 24, 2016 Sushant Gokhale comment Share Follow See all 7 Comments 7 7 Comments reply Show 4 previous comments mcjoshi commented Aug 26, 2016 reply Follow flag I figured out why other's are false but I don't know why (A) is wrong 0 0 replyShare Sushant Gokhale commented Aug 26, 2016 i edited by Sushant Gokhale Nov 7, 2016 reply Follow flag Thats what I told you. Selection sort doesnt always take min of 2.5 hrs. 0 0 replyShare mcjoshi commented Aug 26, 2016 reply Follow flag Got it ! Thanks Bro 0 0 replyShare Please log in or register to add a comment.