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.

4386

Post New Wollega University Interview Questions


Wollega University Interview Questions


Un-Answered Questions

how to calculate vat,pf,esi,service tax in corporate firm

1524


How can we obtain the generated event?

72


How can debug share point application and timer jobs? With steps?

411


Does mongodb run on amazon ebs?

5


A session S_MAP1 is in Repository A. while running the session error message has displayed `server hot-ws270 is connect to Repository B`.what does it mean?

1815






Explain how you would be an asset to Ralph Lauren?

757


Will disk cleanup delete my files?

503


How do you do conditional formatting between two columns?

296


What is a mvc in medical terms?

1


What is css3?

290


What is an example of a data set with a non-gaussian distribution?

79


How to install and start, stop mysql on valet?

437


what is user buffer?

718


How does notification services work?

505


What are the most important google ranking factors?

484