Multiple choice What is the worst case space complexity of selection sort? O(n2) O(n) O(nlog n) O(n^2log n) O(log n) Reveal answer Fill a bubble to check yourself B Correct answer Explanation Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has space complexity of O(n) in the worst case.