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.

4631

Post New Wollega University Interview Questions


Wollega University Interview Questions


Un-Answered Questions

What's MUDRA bank yojana

905


What is the heterogenous?

710


How to restore the default property value using CSS?

543


Apportion Nett profit of rs 325600 among the partners A,B,C and D as per sharing ratios of 26%,13%,32% and the balance to D.Pass journal entry

1667


What are the several methods to enter data in ms access 2013?

585






What is streaming in Hadoop?

304


How to call a method?

5


How do I show the ribbon in excel?

407


Explain universal selector.

395


what is the fuction of asstt. rigman drilling

4324


What are desktop procedures?

765


How do I use windows command prompt?

634


What is the meaning of tristate signal in electronics?

698


What is the use of vlookup formula in excel?

396


what is meant by Turing-universal?

1677