0
15kviews
Define ADT with an example
1 Answer
written 6.2 years ago by | modified 6.2 years ago by |
Examples of ADT
1. Stack ADT:- A Stack contains elements of same type arranged in sequential order. All operations takes place at a single end that is top of the stack
2. Queue ADT:- A Queue contains elements of same type arranged in sequential order. Operations takes place at both ends, insertion is done at end and deletion is done at front.
.