Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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.

4940

Post New Wollega University Interview Questions


Wollega University Interview Questions


Un-Answered Questions

How to write media query for mobiles?

626


What is the difference between android and ios?

964


What do you know about impediments in scrum? Give some examples of possible impediments.

1


Why interceptors are used in angular?

743


What are the different keyboard operations that can be performed in selenium?

875


What is replace function in excel?

649


How do you cope without motivation?

1198


What medical aid is NOT allowed to carry with you on air-craft?

1739


What is Tableau knowledge Engine?

505


Who has access to Campaigns?

485


What is component in java with example?

877


What is the difference between a constructor and a destructor?

1237


if i am having a cics,vsam and db2 programs with each functions and i want that each function on screen?

2232


What is the maximum number of swithes that can be connected in series up to down stream point in an LV Distribution system?

1991


What is truncate in mysql?

929