What is ADT? (Abstract Data Type)

前端 未结 18 1096
借酒劲吻你
借酒劲吻你 2020-12-12 13:04

I am currently studying about Abstract Data Types (ADT\'s) but I don\'t get the concept at all. Can someone please explain to me what this actually is? Also what is collecti

18条回答
  •  离开以前
    2020-12-12 13:40

    To solve problems we combine the data structure with their operations. An ADT consists of two parts:

    1. Declaration of Data.
    2. Declaration of Operation.

    Commonly used ADT's are Linked Lists, Stacks, Queues, Priority Queues, Trees etc. While defining ADTs we don't need to worry about implementation detals. They come into picture only when we want to use them.

提交回复
热议问题