Can someone tell me if I have produced the right minimum binary heap after inserting these values in order into an initially empty minimum binary heap?
[23, 41, 19, 59, 10, 15, 40]
Can someone tell me if I have produced the right minimum binary heap after inserting these values in order into an initially empty minimum binary heap?
[23, 41, 19, 59, 10, 15, 40]
Copyright © 2021 Jogjafile Inc.

Yes. That is the correct result for that input.
The heap evolves as follows: