02_ Algorithms and Data Structures

The difference between algorithms and data structures

Only static data structure describes the relationship between data elements.

Efficient procedures need to design and selection algorithms on the basis of the data structure.

Algorithms + data structures = programs

Summary: The algorithm is designed to solve practical problems, the data structure is a vector arithmetic problems need to be addressed

Abstract Data Types (Abstract Data Type)

Abstract data type (ADT) what is meant is a mathematical model and a set of operations defined on this mathematical model. I.e., the operation on the data types and data types are bundled together, encapsulated. The purpose of introducing the abstract data type is implemented on a data type and represents the type of the operation data with reference to these data types and spaced apart in the operation program, so that they are independent.

The most commonly used data operations there are five:

  • insert
  • delete
  • modify
  • Seek
  • Sequence

Guess you like

Origin www.cnblogs.com/nichengshishaonian/p/11575587.html