0 0 votes Upon running quicksort on a subarray with fewer than k elements, it returns without sorting subarray. After top level call to quicksort returns, insertion sort is run on entire array to finish sorting. Then the sorting algo runs in: O(n lg(n/k) ) O(n+ n lg(n/k)) O(nk + n lg(n/k)) none Algorithms algorithms sorting time-complexity + – gate_forum 1.1k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote ans is C Riya Roy(Arayana) answered Dec 21, 2015 Riya Roy(Arayana) comment Share Follow 0 reply Please log in or register to add a comment.