Assignment 3
Assignment 3
1. Sorting algorithms have different levels of efficiency and are chosen based on specific
requirements. Compare and contrast Bubble Sort, Quick Sort, and Merge Sort in terms of
time complexity, best use cases, and efficiency.
2. Describe a situation where using Merge Sort would be more advantageous than Quick
Sort. Explain your reasoning with reference to the characteristics of each algorithm.
3. Write pseudocode for Merge Sort and briefly explain each step.