Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What is the worst-case time complexity of the selection sort algorithm, and what is its primary operation?
O( n ), with the primary operation being comparing elements.
O( n logn ), with the primary operation being merging two sorted halves.
O( n2 ), with the primary operation being swapping adjacent elements.
O( n2 ), with the primary operation being finding the minimum element in the unsorted portion.
O( n logn ), with the primary operation being partitioning.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!