Bích Ngọc Member Sep 21, 2021 #1 In what position does the array for heap sort contains data? A. 0 B. 1 C. -1 D. anywhere in the array
In what position does the array for heap sort contains data? A. 0 B. 1 C. -1 D. anywhere in the array
Đ Đinh Thu Trang New member Sep 21, 2021 #2 Answer: a Explanation: The array for heap sort contains data at position 0 whereas for a binary heap, array begins at 1. This is the reason for its complexity. Upvote 0 Downvote
Answer: a Explanation: The array for heap sort contains data at position 0 whereas for a binary heap, array begins at 1. This is the reason for its complexity.