A data structure is a method for organizing collections of elements based on fundamental abstractions like records (structs in C), pointers, and arrays) to support efficient operations on those collections. Typical operations are inserting and deleting elements, finding an element given its key, or finding the maximum element in the collection. Algorithms that use data structures tend to be iterative, reducing a problem to a sequence of data structure operations.
Examples: