Recent questions tagged sorting

0 votes
0 answers
31
Hello, i have a algorithm and i want to prove it with induction how can i do that ?Also i want to worst case run time analyze but i am not very good please help me please...
0 votes
1 answer
34
Given ‘N’ objects, which are coloured as red, white and blue. Sort theseobjects so that objects of the same colour are adjacent, with the coloursin the order red, whi...
1 votes
1 answer
35
0 votes
1 answer
39
As we know the time complexity of solving the greedy knapsack algorithm depends mainly on the sorting algorithm used, Can we use counting sort as the sorting algorithm to...
0 votes
1 answer
40
Can anyone explain each option, for every option if it is true then why? If false then why? (Please don’t comment like answer is A,B etc) Please help
1 votes
2 answers
41
Number of comparisons required to sort letters in ALGORITHM?(A) 36 (B) 8(C) 45 (D) 9