mercredi 1 avril 2015

What are Abstract data types in algorithms and why do we need them?


Vote count:

0




I would also like to quote from a source from where i read and could not understand.


We all know by default,all primitive datatypes(int,float etc)support basic operations such as addition and subraction.The system provides the implementation for the primitive datatypes.For userdefined types we need to define operations.The implementation of these algorithms is done when we use them. That means,user defined datatypes are defined along with their operations.


To simplify the process of solving problems ,we combine dataStructures along with their operations and call it as AbstractDataType


Can anyone explain a good example of it and to the context of real world too? Why u need them?


Source Narasimha Karumanchi book DataStructures and Algorithms



asked 23 secs ago







What are Abstract data types in algorithms and why do we need them?

Aucun commentaire:

Enregistrer un commentaire