#abstractdatatype #ADT #datastructureslectures
Abstract Data Types:-
An abstract data type (ADT) is a set of operations. An ADT specifies what is to be done but how it is done is not specified i.e. all the implementation details are hidden.
The basic idea is that the implementation of these operations is written once in the program and any other part of the program that needs to perform an operation on the ADT can do so by calling the appropriate function.
For Example, stack ADT have operations like push, pop but stack ADT doesn’t provide any implementation details regarding operations.