


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Abstract data types (ADTs) - ANSdata type described by predefined user operations abstraction - ANSto have a user interact with an item at a high-level, with lower-level internal details hidden from the user. algorithm - ANSa sequence of steps to solve a computational problem or perform a calculation. algorithm efficiency - ANSis typically measured by the algorithm's computational complexity array - ANSdata structure that stores an ordered list of items, where each item is directly accessible by a positional index. auxiliary space complexity - ANSthe space complexity not including the input data. bag - ANSADT for storing items in which the order does not matter and duplicate items are allowed. best case - ANSscenario where the algorithm does the minimum possible number of operations.
binary tree - ANSdata structure in which each node stores data and has up to two children, known as a left child and a right child. computational complexity - ANSthe amount of resources used by the algorithm. The most common resources considered are the runtime and memory usage. computational problem - ANSspecifies an input, a question about the input that can be answered using a computer, and the desired output. data structure - ANSa way of organizing, storing, and performing operations on data. deque - ANSan ADT in which items can be inserted and removed at both the front and back. dictionary - ANSADT that associates (or maps) keys with values. dynamic array - ANSADT for holding ordered data and allowing indexed access. hash table - ANSdata structure that stores unordered items by mapping (or hashing) each item to a location in an array. linked list - ANSdata structure that stores an ordered list of items in nodes, where each node stores data and has a pointer to the next node. list - ANSADT for holding ordered data.
worst case - ANSscenario where the algorithm does the maximum possible number of operations.