187k views
3 votes
to locate a value that is in an ordered array of 50 items, linear search must examine an average of values.

User Intellion
by
4.6k points

1 Answer

6 votes
Data Structure is a systematic way to organize data in order to use it efficiently. Following terms are the foundation terms of a data structure.

Interface − Each data structure has an interface. Interface represents the set of operations that a data structure supports. An interface only provides the list of supported operations, type of parameters they can accept and return type of these operations.
Implementation − Implementation provides the internal representation of a data structure. Implementation also provides the definition of the algorithms used in the operations of the data structure.
User Nabarun Chatterjee
by
4.1k points