Notes

Search

Search IconIcon to open search

Abstract Data Types

Last updated Dec 27, 2022

Abstract Data types are defined by their operations, not their implementation.

The Stack ADT

The Stack ADT supports the following operations:

A linked list and array implementation are basically equally efficient.

GrabBag ADT

Arrays turn out to be a better implementation than linked lists.