Professional Documents
Culture Documents
Ra1 Singca Dat2b
Ra1 Singca Dat2b
1. Specification: In this phase, we outline the expected behavior of the Abstract Data Type
(ADT). This includes identifying the potential data values, the permissible operations on
the data, and how these operations should behave. Importantly, this specification should
remain independent of any specific implementation details.
2. Implementation: During this step, we select a practical data structure and put into
practice the operations defined for the ADT using that chosen data structure. It's crucial
that this implementation is both efficient and accurate.
3. Usage: This stage involves integrating the ADT into other programs. Importantly, users
employing the ADT shouldn't need to concern themselves with the underlying
implementation details.
2. Linked lists: Linked lists are a more flexible data structure than arrays. Linked lists are
also stored in a linear order, but the items are not stored next to each other in memory.
Instead, each item in a linked list contains a pointer to the next item in the list. This
makes linked lists more efficient for inserting and deleting items, but less efficient for
accessing individual items.
Reference
GeeksforGeeks. (2017, September 11). Abstract Data Types - GeeksforGeeks. GeeksforGeeks.
https://www.geeksforgeeks.org/abstract-data-types/
Arya, S. (2022, July 20). Abstract Data Type in Data Structure. Scaler Topics.
https://www.scaler.com/topics/abstract-data-type-in-data-structure/
Abstract data type in data structure - javatpoint. (n.d.). Www.javatpoint.com.
https://www.javatpoint.com/abstract-data-type-in-data-structure
GeeksforGeeks. (2014). Data Structures - GeeksforGeeks. GeeksforGeeks.
https://www.geeksforgeeks.org/data-structures/
Prabhu, R. (2019, March 28). Introduction to Algorithms. GeeksforGeeks.
https://www.geeksforgeeks.org/introduction-to-algorithms/
Data Structures and Algorithms Tutorial. (n.d.). Scaler Topics.
https://www.scaler.com/topics/data-structures/
Data Structures and Algorithms. (2019). Programiz.com. https://www.programiz.com/dsa