For the following data structures:
- Stack
- Use PUSH() for INSERT()
- Use POP() for DELETE()
- Queue
- Use ENQUEUE() for INSERT()
- Use DEQUEUE() for DELETE()
show the array elements after each of the following operations:
- INSERT( 1 )
- INSERT( 2 )
- DELETE()
- INSERT( 3 )
- DELETE()
- DELETE()
Last Modified: