k insert cat 1 insert goat m remove top nf insert egg g insert kow h i
k. insert "Cat
1. insert "Goat"
m. remove top./nf. insert "Egg
g. insert "Kow"
h. insert "Ant"
i. insert "Jam"
insert "Dog"/nQuestion 2
a, 9 points
A min-heap is to be constructed, containing only strings, and using the usual
ordering for strings (that is, the C++ operators <, >, , etc. will do the job).
That means that the strings represent their own priorities, "abe" must be
above "def and so on.
Show the contents of the heap, all in its correct place, after each of these
operations. The heap is empty at the start.
b to m, 2 points each, there are 12 of them.
Parts A to K are worth three points each (there are eleven of them)
b. insert "Frog"
d. insert "Bat"
*The amount will be in form of wallet points that you can redeem to pay upto 10% of the price for any assignment. **Use of solution provided by us for unfair practice like cheating will result in action from our end which may include permanent termination of the defaulter’s account.Disclaimer:The website contains certain images which are not owned by the company/ website. Such images are used for indicative purposes only and is a third-party content. All credits go to its rightful owner including its copyright owner. It is also clarified that the use of any photograph on the website including the use of any photograph of any educational institute/ university is not intended to suggest any association, relationship, or sponsorship whatsoever between the company and the said educational institute/ university. Any such use is for representative purposes only and all intellectual property rights belong to the respective owners.