Data Structure Tutorial 40th lesson General Review

Source: Internet
Author: User
Tags abstract definition data structures sort

Teaching Purpose: A survey of data structure

Teaching emphases: The core of data structure course

Teaching Difficulties: Understanding Concepts

Teaching Content:

I. The significance of learning data structure

Imagine that you decide to invest in a company, and your knowledge of a company is limited to a single production line that can produce 2000 products per minute, and will you make an investment decision? If you are the manager of a company, the details of every transaction in the company are important to you, but if you spend your time on that data, you can't stand on the macro level to grasp the direction of the business.

Whether it's running a company, or managing a country, the data describing the characteristics of things must be analyzed and processed, the real things are generally connected, the description of the attributes and characteristics of these things are generally linked, the relationship between these data is summed up, get set, linear, tree, diagram of these four basic relations, Thus, four basic data structures are obtained. And each type of structure of data, the same operations (such as traversal, lookup, etc.) need to adopt a different method (algorithm), the different types of structure can be operated on the difference. By applying these algorithms, we can get the general abstract characteristics of things. Such as: A company's annual output value, total annual profit, profit margin and so on.

Conversely, in order to describe a complex thing, it is necessary to analyze its components, not only describe the characteristics of each part, but also describe the relationship between the various parts, so subdivided to facilitate the eventual use of computer processing, and the basic data type of the computer is not suitable to describe the complex structure, And only basic data types are not convenient for human understanding and memory, so the use of the abstract data type between the two is a computer language to describe the link between the real thing. People can easily use abstract data types to describe things, but also can easily use the abstract data type to achieve the basic data type, for the use of computer to deal with practical problems provided a solution.

Second, the key to the study of data structure

How do I describe a new type of abstract data?

How to analyze the pros and cons of the algorithm?

The main characteristics of the linear table.

Storage Representation of linear table (sequential representation, one-way linked list, cyclic chain list, bidirectional linked list)

Special linear tables: stacks, queues, strings

Definition, property, storage structure and traversal algorithm of binary tree

Definition, terminology, storage structure of graphs

Static lookup table, binary sort tree, hash function construction and conflict handling method.

Insert sort, quick sort, select sort

Large-Scale Price Reduction
  • 59% Max. and 23% Avg.
  • Price Reduction for Core Products
  • Price Reduction in Multiple Regions
undefined. /
Connect with us on Discord
  • Secure, anonymous group chat without disturbance
  • Stay updated on campaigns, new products, and more
  • Support for all your questions
undefined. /
Free Tier
  • Start free from ECS to Big Data
  • Get Started in 3 Simple Steps
  • Try ECS t5 1C1G
undefined. /

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.