Searching Sorting and Hashing questions

Q6

GATE CS 2013 CSSearching Sorting and HashingMCQ1 mark−1/3 if wrong
Which one of the following is the tightest upper bound that represents the number of swaps required to sort nn numbers using selection sort?
Show answer without attempting

Answer: B

Q30

GATE CS 2013 CSSearching Sorting and HashingMCQ2 marks−2/3 if wrong
The number of elements that can be sorted in Θ(log⁡n)\Theta(\log n) time using heap sort is
Show answer without attempting

Answer: C

0/20 correct0 marks

Related topics in Algorithms