A list is ordered from smaller to largest when a sort is
called. Which sort would take the shortest time to execute?

Answer Posted / gautam

heap sort is the correct answer because it requires log(n)
time where n is the number of nodes

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Advanced problems related to Data Structures were asked

617


What is sorting in math?

607


Is radix sort faster than quicksort?

577


Which sorting method is slowest?

622


What is an example of an array?

644






What is the best case complexity of bubble sort?

562


What are the topics in data structures?

592


What is the advantage of circular linked list?

480


Describe queue operation.

590


Explain what is B-tree?

649


What is collections singletonlist?

568


What are linked lists good for?

546


What are the advantages of array?

557


State the difference between arrays and linked lists?

611


What is significance of ” * ” ?

715