BitKernel·Software Engineer·Technical Phone Screen
- Given the array [7, 6, 3, 5, 4, 1, 2], after building a max-heap and performing the first extraction step (swap the root with the last element, then heapify the remaining elements), what does the array look like?
“Multiple choice saved me a little here but I still had to work through it.”