[Practical Data Structure C ++] 0 Why learn data structure?

[Data Structure Combat C ++] 0 What is the data structure?

Author CodeAllen , please indicate the source


Why study data structures?

Several common problems

  • Will you be able to carry out project development after language studies?
  • How do you think when facing a problem?
  • How to evaluate the efficiency of the code?
  • How to improve your programming skills?

Therefore, the meaning of the data structure is

  • Cultivate professional program thinking
  • Train the ability to use programming languages ​​to describe solutions
  • Basic Courses in Bold Style Computer Major
  • Prerequisite course for algorithm analysis major

Although there are more complete algorithm implementation functions in libraries in many languages, which can be called directly,
but knowing it and knowing why, you can ask yourself the following questions! !

  • When sorting, how to choose the sorting algorithm?
  • A single linked list is enough. Why use a doubly linked list?
  • The shortest path algorithm is famous, why is it rarely used in projects?
  • Recursion means that the function calls itself. What is the use of this approach?
Published 315 original articles · praised 937 · 650,000 views

Guess you like

Origin blog.csdn.net/super828/article/details/105422199