What is bubble sort used for?



What is bubble sort used for?..

Answer / Ankita Dubey

Bubble Sort is a simple sorting algorithm used when the amount of data to be sorted is small, and efficiency is not a major concern. It works by repeatedly swapping adjacent elements if they are in the wrong order.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is the main advantage of a linked list?

1 Answers  


What is complete binary tree and almost complete binary tree?

1 Answers  


What is data structure and data type?

1 Answers  


Can you please explain the difference between array_name and &array_name?

1 Answers  


What is the difference between collections class vs collections interface?

1 Answers  


Define heap?

1 Answers  


Different Types of pattern?

1 Answers   Wipro,


Explain the Queue

1 Answers   Tech Mahindra,


Which is the fastest sorting?

1 Answers  


What are the drawbacks of array implementation of queue?

1 Answers  


Write an algorithm to check if there is a loop in a doubly linked list.

1 Answers   DELL,


What will you prefer for traversing through a list of elements between singly and doubly linked lists?

1 Answers  


Categories