IDNLearn.com is your go-to platform for finding accurate and reliable answers. Get timely and accurate answers to your questions from our dedicated community of experts who are here to help you.

Which sorting algorithm has a time complexity of O(n log n) in the worst case?

a) Selection sort
b) Heap sort
c) Radix sort
d) Bubble sort