✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider sorting a list of n integers with quick sort.
What is the best-case time complexity if we always select the largest number as the pivot?
Assume picking the pivot can be done in constant time.