Discuss how to apply queue using stack
Discuss how to apply queue using stack?
Expert
A queue can be applied by using two stacks:-
• 1. An element is inserted in queue by pushing it in stack 1 • 2. An element is extracted from queue by popping it from stack 2 • 3. If stack 2 is empty then all elements currently in stack 1 is transferred to stack 2 however in the reverse order • 4. If the stack 2 is not empty just pop value from stack 2.
Explain about a B+ tree and its uses.
Explain about the term database Trigger.
Explain an Array is an Ivalue or not.
Explain about linked list?
Describe in brief the word Quick Sort?
Explain the user interface design?
Describe the term binary tree? Describe its some uses.
Describe the process how to implement the queue by using stack.
Elucidate pre-order and in-order tree traversal?
Write down a brief note on the term recursive algorithm?
18,76,764
1960994 Asked
3,689
Active Tutors
1452055
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!