Which sorting technique is faster?



Which sorting technique is faster?..

Answer / Ratan Singh

The answer to this question can vary based on the specific use case and size of data. However, in general, quicksort and mergesort are often considered faster than bubble sort for larger datasets due to their average and best-case time complexities (O(n log n)). While the worst-case complexity of quicksort is also O(n^2), it's less common compared to bubble sort, which has a worst-case complexity of O(n^2).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Is queue fifo or lifo?

1 Answers  


How does a dynamic array work?

1 Answers  


How do you create a tree diagram?

1 Answers  


What data structure underlies a python list?

1 Answers  


What do you mean by open addressing?

1 Answers  


Which sorting algorithm is worst?

1 Answers  


how to display Singly Linked List from First to Last?

1 Answers  


What is a list of lists?

1 Answers  


What is selection sort with example?

1 Answers  


What are data members?

1 Answers  


What is heap tree explain with example?

1 Answers  


Difference between abstract data type, data type and data structure?

1 Answers  


Categories