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
Which programming language is best for data structures?
What is the use of threaded binary tree?
Which sorting method is slowest?
Why is map not a collection?
What is the purpose of sorting algorithms?
What is meant by deque?
What are the advantages of sorting?
How efficient is bubble sort?
List the types of tree.
Define secondary clustering?
Can treeset contain null?
Why sorting algorithms are important?
What do you mean by the term “percolate down”?
Can you dynamically allocate arrays in expanded memory?
What is an example of an array?