At Westonci.ca, we connect you with the answers you need, thanks to our active and informed community. Explore a wealth of knowledge from professionals across different disciplines on our comprehensive platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

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