Interview Guides

"Can you compare common sorting algorithms such as bubble sort, insertion sort, merge sort, quicksort, and heap sort, and explain when you would choose each one based on time complexity, space usage, stability, and input characteristics?"