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

What is data abstraction? How is it implemented in C++?

0 Answers   Amdocs,


What Is A Conversion Constructor C++ ?

0 Answers   Amazon,


What is Coupling?

0 Answers   Cap Gemini,


Explain what happens when an exception is thrown in C++.

0 Answers   Amazon,


Briefly explain various access specifiers in C++.

0 Answers   Amdocs,


Write a C++ Program to Reverse a Number using while loop.

1 Answers  


what is friend function in C++?

0 Answers   TCS,


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

0 Answers   Adobe,


How can you force the compiler to not generate them?

0 Answers   Amazon,


Difference between Call by pointer and by reference.

0 Answers   Adobe,


C++ Public access specifier instead of Private – What is bad ?

0 Answers  


Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.

0 Answers   Alter,


Categories