1. What is the minimum number of stacks of size ‘n’ required to implement a queue of size ‘n’?

Answer: Two.

Reply

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->What is the minimum number of stacks of size ‘n’ required to implement a queue of size ‘n’?....
QA->Some boys are standing in a queue. If the tenth boy from behind is 5 behind the 12th boy from the front, how many are there in the queue?....
QA->Minimum number of AND gates required to implement the Boolean expression:ABC’ +AB’C +A’BC is....
QA->The number of marble slabs of size 25 cm x 25 cm required to pave the floor of a square room of side 10 metres is :....
QA->The number of marble slabs of size 20cm x 20 cm required to pave the floor of a square room of side 3 metres is ?....
MCQ->minimum number of stacks of size n required to implement a queue of size n...
MCQ->Which two can be used to create a new Thread? Extend java.lang.Thread and override the run() method. Extend java.lang.Runnable and override the start() method. Implement java.lang.Thread and implement the run() method. Implement java.lang.Runnable and implement the run() method. Implement java.lang.Thread and implement the start() method....
MCQ->Statement: A large number of students and parents stood in the queue to collect forms for admission to various under-graduate courses in the college. Assumptions: I. The college authority may be able to admit all those who stood in the queue. II. The college authority may have adequate number of forms for all those standing in the queue....
MCQ->Which of the following is the correct way to access all elements of the Queue collection created using the C#.NET code snippet given below? Queue q = new Queue(); q.Enqueue("Sachin"); q.Enqueue('A'); q.Enqueue(false); q.Enqueue(38); q.Enqueue(5.4);...
MCQ->In a queue of fifteen people facing north, Rahul’s position is ninth from the end of the queue. Only four people are standing between Rahul and Tom, Karan is standing immediately after Tom. Bharti is standing exactly between Ka-ran and Rahul. Sonali is standing before Bharti but after Tom. What is position of Sonali from the beginning of the queue? (Note : All people are standing one behind the other)...
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions