Saved Bookmarks
| 1. |
What is a stack? Write an algorithm for PUSH() and POP() operations. |
|
Answer» Algorithm for PUSH operation: Algorithm for POP operation: Step 2: ITEM = STACK[POP] |
|