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 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.

4400

Post New Wollega University Interview Questions


Wollega University Interview Questions


Un-Answered Questions

How much of the internet does aws use?

112


What is kafka Producer?

341


Sell me this object?

705


What are T- Bills?

809


what are constraints? : Sql server database administration

545






how does a Metro Hub works ?

2098


How to check server status with 'mysqladmin'?

537


Bearer Capabilities - What are they?

957


Hi Could someone please provide Siebel Testing Interview questions for 5 years exp.

4424


What are the limitations of Hadoop?

250


What is jaxr provider?

526


define the non synchoronism of synchoronous machine in general g or m??

1453


What are hooks in cakephp?

3


What are advantages and disadvantages of combining the session presentation application layer in the osi model into one single application layer in internet layer?

6924


What are advantages of using LINQ on DataSet?

77