Transform and Conquer Flashcards

1
Q

max heaps are

A

complete binary trees at which the key of each node is >= the keys of its children

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

transform sorting into

A

building heaps and maximum_heapify

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

heap sorting has a complexity of

A

O(n logn)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly