In computer science
, a data structure
is a particular way of organizing data
in a computer so that it can be used efficiently
. Data structures can implement one or more particular abstract data types
(ADT), which are the means of specifying the contract of operations and their complexity
. In comparison, a data structure is a concrete implementation of the contract provided by an ADT.