Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Wollega University C++ Code Interview Questions
Questions Answers Views Company eMail

Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array index. Adding an item would require changing the value of top if it has higher priority than top. Extracting an item would require deleting the first element from the corresponding queue. The following class was given: class PriorityQueue { int *Data[100]; int top; public: void put(int item, int priority); // inserts the item with the given priority. int get(int priority); // extract the element with the given priority. int count(); // returns the total elements in the priority queue. int isEmpty(); // check whether the priority queue is empty or not. }; We had to implement all these class functions.

4392

Post New Wollega University C++ Code Interview Questions


Wollega University C++ Code Interview Questions
    Wollega University C++ Code Interview Questions (1)


Un-Answered Questions

What are applications areas of data mining?

39


I have 3 transactions,where the output of one transaction is input of another and output of 2nd transaction is input of 3rd transaction.i have one flat file with all data for the 3 transaction.if the 3rd transaction failed can we rollback the remaining 2 transactions or not.Is this possible in BDC,How/

1807


whatis range of marcury filled tempereture gague

1494


Can you provide an example of a situation where you used data-driven insights to optimize production processes?

1


What are the different components required in cloud architecture?

366






What are the various components of a spring application?

166


Why does this query return 0?

623


What is header in powerpoint?

126


How do I do a system restore if windows won't start?

418


What is trace flags — 5101 and 5102 in sybase?

462


How a timer enhances for controlling any process.

553


What is the ctrl alt delete menu called?

317


Can we declare main () method as non static?

518


What are the impacts that can be observed in implementing the internet of things on the agriculture sector?

1


Differentiate between Silverlight 1.0 and Silverlight 2?

1