Write the different operations that can be done in a stack of elements of type T as well as in a queue of elements of type T.

a) Write the different operations that can be done in a stack of elements of type T as well as in a queue of elements of type T.

Leave a Reply