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.

4971

Post New Wollega University Interview Questions


Wollega University Interview Questions


Un-Answered Questions

What's your management style?

1199


Why null value is used in string?

1055


What is internal and external sorting?

939


How do I send an email from salesforce?

431


What are some of the other roles that a server running windows server 2008 could fill on the network?

358


What is the report painter?

1056


List the Basic data types of Kotlin?

174


Tell us what are internal tables?

915


What measures do you take to ensure product quality and consistency throughout the manufacturing process?

1


explain the primary function of domain controllers? : Windows server 2008

395


What is difference between session_unset and session_destroy?

1045


what are the two methods of modifying sap standard tables? : abap data dictionary

1122


What is the difference between

and ?

912


What is article Metadata?

151


What were the headlines in the Financial Times today?

1151