How will you execute a stack using a priority queue? (Push and pop should be in O (1)).


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ Interview Questions

Discuss about iteration statements in C++ .

0 Answers   Agilent,


How can you force the compiler to not generate them?

0 Answers   Amazon,


what do you mean by exception handling in C++?

0 Answers   Alter,


What is function overloading and operator overloading in C++?

0 Answers   IBS, TCS,


What is latest update of C++ ?

0 Answers   Adobe,






In C++ what is the meaning of data hiding?

0 Answers   Aricent,


What does it mean to declare a member function as static in C++?

0 Answers   Amazon,


Name the operators that cannot be overloaded.

1 Answers   Wipro,


What are the advantages and disadvantages of B-star trees over Binary trees?

0 Answers  


What do you know about Volatile keyword in C++? Explain with an example code.

0 Answers   Adobe,


How many times will this loop execute? Explain your answer.

0 Answers  


Do you know about Agilent PRECOMPILERS. ?

0 Answers   Agilent,


Categories