Is bubble sort adaptive?



Is bubble sort adaptive?..

Answer / Rohit Kumar Kukreti

No, Bubble Sort is not an adaptive sorting algorithm. It has a worst-case and average time complexity of O(n^2), where n is the number of elements being sorted. Adaptive algorithms adjust their strategy based on input data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Is an arraylist an object?

1 Answers  


What is linked list with example?

1 Answers  


How to show internal storage representation of data structure in RDBM?

1 Answers  


Describe the degree term in a tree.

1 Answers  


What are linked lists good for?

1 Answers  


What are the tasks performed during inorder traversal?

1 Answers  


Define hash table?

1 Answers  


What is the idea behind splaying?

1 Answers  


How do I sort a hashmap key?

1 Answers  


What is a spanning tree?does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?

1 Answers  


what is the different between B-tree and B+ tree.

8 Answers   Syntel,


Explain quick sort and merge sort algorithms.

1 Answers  


Categories