A list is ordered from smaller to largest when a sort is
called. Which sort would take the longest time to execute?
Answers were Sorted based on User's Feedback
Answer / manasi
The Time Complexity of Bubble sort,insertion sort and
selection sort is same i.e. O(n^2). So all sorting
algorithms will take same time to sort the elements.
Please correct me if im wrong..
| Is This Answer Correct ? | 1 Yes | 7 No |
What actions are performed when a function returns?
List the applications of queues?
What is a string array?
Explain the applications of stack?
What is the difference between null and void?
what is atmost complete binary tree?
What is application of data structure?
How do you represent a linked list?
Is linkedlist thread safe?
How long does it take to master data structures and algorithms?
Name the areas in which you can apply data structures extensively?
What is collection process?