Which of the following sequence of array elements forms a binary heap?

1
42, 32, 18, 24, 17, 14, 13, 22, 19, 11, 16, 10, 12, 8, 21, 7
2
42, 32, 18, 24, 17, 14, 13, 22, 19, 11, 16, 10, 12, 21, 7, 8
3
42, 32, 18, 24, 17, 14, 13, 22, 19, 11, 16, 10, 12, 8, 7, 21
4
42, 32, 18, 24, 17, 14, 13, 22, 19, 11, 12, 10, 16, 7, 8, 21

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation