How to learn data structures and algorithms at the beginning, I feel that I can t keep up with the p

Updated on technology 2024-04-21
3 answers
  1. Anonymous users2024-02-08

    As the saying goes: the teacher brings in the door, and the practice depends on the individual. In the classroom, the teacher can only take you into this unknown territory for a limited time, and if you want to continue to understand it deeply, you need to spend more time exploring after class.

    Data structure algorithms may seem easy, but they are actually difficult to learn and use. Study Suggestions:1

    After class, continue to follow the textbook for in-depth research; 2.In your spare time, you can find relevant and classic data structure algorithms on the Internet, which is the most effective method under the actual programming test verification. Hope it helps.

  2. Anonymous users2024-02-07

    1. Remember the data structure and remember the idea of the algorithm (what it is).

    Remember the most intuitive thing about data structures; Memorize the definition, nature, characteristics, etc. of the data structure. The understanding and innovation of many things is premised on memory.

    2. Carry out a lot of relevant programming exercises, and use programming languages to implement algorithms on a certain data structure (how to do).

    Many times, it is easy to understand an algorithm, and it is easy to simulate the implementation process of an algorithm on paper. But the actual implementation is another matter. You have to think for yourself first, and then look at the programming language implementation given in the book.

    3. "Remember" a specific situation and use a specific data structure to solve the problem (why + how).

    Every time a data structure is introduced, the MOOC course on big data structures and algorithms in Zhejiang will have a practical question as an "introduction" to "why does this data structure appear". Some are for specific operations, and some are for time and space (most of the time complexity is considered) to be more efficient (so, when it's okay, analyze the time complexity of the algorithm). These are things that we also have to understand and remember.

    Each data structure has its own characteristics, and to solve a certain type of problem, we need to memorize and perceive.

    4. Form a knowledge system of your own

    how to "remember" (take good notes, review a lot); In the process of learning, how to deal with setbacks and frustrations (this is inevitable, there are always places that are difficult to understand); How to adjust your mindset (speed is not enough, but there is also the concept of "agile learning").

  3. Anonymous users2024-02-06

    I'm a crossover course in computer science and math! To sum up, if you are not doing research and going to the very cutting edge:

    1.Data structures and algorithms are important.

    2.Advanced math doesn't help with data structures, but it doesn't have to be learned! Discrete math works!

    3.You can read the book of algorithms and applications, just look at the university textbook "Data Structures", and the whole article is an example of C language, which is very easy to understand, and has little to do with mathematics.

    4.Reading excellent sources** many times can only understand the small skills inside, and you can't understand the author's idea without systematically learning the design, so you can read the book while reading**.

    In addition, the data structure is really not difficult, and you don't need to know too much mathematical knowledge, in fact, most of them are basic algorithms, it is recommended that you install a compiler with a standard c, learn more and do more according to the textbook, and you will soon be able to master it.

    The data structure expertise that is actually applied today is very small, and most of it is simple applications.

Related questions
13 answers2024-04-21

This is a problem with queue operations. (Actually, you should give the definition of the queue operation function.) But I'm smart. Hey. You don't have to give. ) >>>More

16 answers2024-04-21

Just o(n) scans it once, millions of arrays are not big, and c can be opened so big for global variables. >>>More

6 answers2024-04-21

There are two types of candidates who start to learn dance and art at the beginning of high school: >>>More

25 answers2024-04-21

Is it Xu Song's family-style love?

Lyrics: Crescent Moon Lakeside Movie Western Food Those Nights. >>>More

12 answers2024-04-21

Hello. At the beginning, we were all friends, and then later, I fell in love with you, the ballad of songs, singing the sweetness you gave, and in the end, I lost you. >>>More