Which of the following sorting algorithms yield approximately the same worst-case and average case running time behaviour is O(n log n)?
A. Bubble sort and selection sort
B. Heap sort and merge sort
C. Quick sort and radix sort
D.Tree sort and median-of-3-quick sort