✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
1. Describe in bullet points the steps involved in the HeapSort algorithm [4 marks]2. What is the worst-case time complexity of HeapSort algorithm? Assume the input size N to be the number of elements in the input array. No explanation no marks. [4 marks]3. What are the two invariants of max heaps? Explain what each of these invariants mean. [2 marks]
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!