Q & A by Maninder Singh

Question:

QUESTION: Difference between Bubble Sort and Merge Sort:

Answer:

Bubble Sort is like repeatedly swapping adjacent elements if they are in the wrong order, and it's simple but not very efficient. Merge Sort, on the other hand, divides the list into smaller parts, sorts them, and then merges them back together. Merge Sort is more efficient for larger lists.