"The data structure flips the classroom" The answer record--sequential table

Source: Internet
Author: User

Description

This article is the "Data structure" flip class online answer to the record, from the Cloud class "question/discussion" function in the export data collation.

"Important Tips"

The following content, according to the time from the back to the next order of delivery, please directly to the end of the article, backward look more smoothly.

"Practical answer to the course"

Gio Mengzhen 2015-09-20 11:19:20 said
It's too hard.
Helijian 2015-09-20 11:25:48 Answer
The time has come to get the general. Look back, the Jiangshan is so beauty!

Gao Lu 2015-09-19 15:14:50
With pointers and linear tables that piece ...

Wang Zuanliang 2015-09-15 21:18:19
Multiple Files!

Luo Seaman 2015-09-14 23:42:15 asked
Today when the assigned linear table is released, does the pointer and the reference use only the data of the flyer when it is used alone?
Helijian 2015-09-15 07:17:34 Answer
Single data? Do you mean the basic data type? Data of the construction data type is also duly completed.

Yuquimin 2015-09-14 12:10:45 Q
What is the difference between the linked list and the list of C + + in our study?
Helijian 2015-09-14 12:16:18 Answer
Exactly the same as long as the list is not processed as a class.

Zhou Kaixuan 2015-09-14 10:58:12
Not easy

Li Zong 2015-09-14 10:58:01
Dizzy.

Yang Huijuan 2015-09-14 10:54:42
Listen, I'm so confused.

Ersanli 2015-09-14 10:53:29
Application examples of sequential tables that's not very clear.

Sun Lili 2015-09-14 09:06:53
Which piece is so hard ︶^︶
Helijian 2015-09-14 09:08:17 Answer
With this class, the new accounts are debt settled together.

Li Zilun 2015-09-14 09:04:55
Order table It's so hard to apply this piece.

Gao Zhe 2015-09-14 08:44:28
Linear table Logical Structure

Cheng 2015-09-14 08:29:38
I'm still a little confused.

Zhang Ruilei 2015-09-14 08:12:40
In the discussion of parameter types that's not quite clear.

Yang Zheng 2015-09-13 22:34:21
For the removal of insertions these algorithms don't quite understand
Helijian 2015-09-14 06:27:07
Prepare the classroom to teach 4 tricks to help students learn to understand the algorithm

Sun Yu 2015-09-13 21:48:38
See two times, pointer-type reference or not quite understand
Kingston 2015-09-13 22:05:21
Let's see it three times.

Tang Zikian 2015-09-13 21:43:28
Linear table

Li Zhe 2015-09-13 20:44:23
There's still a shortage of linked lists.

Zhou Jie 2015-09-13 19:45:14
The linear table is not very well understood.

Kingston 2015-09-13 14:59:20 said
It seems that you need some strength to do, you fill the gaps of the semester
Xu Jiping 2015-09-13 18:51:56
Learn and then know less ...

Luo Seaman 2015-09-13 10:44:23 asked
Linear table and linked list what is the connection and difference, how to learn and understand the linear table
Helijian 2015-09-13 14:22:29 Answer
After the end of the next week, will understand that the linear table is a logical structure, there are sequential tables, linked lists and other storage structures, various structures have pros and cons, will combine the need to choose the most suitable, this is Kung fu.

Shangwen 2015-09-13 10:51:35 Q
I – the sequential logical sequence number into a physical ordinal when deleting and inserting a data selection element I don't understand.
Helijian 2015-09-13 14:18:04 Answer
The logic sequence starts with 1, and the physical order starts at 0. Simply speaking.

Li Hao 2015-09-13 09:43:01 q
What is the use of linear tables for practical programming?
Helijian 2015-09-13 14:19:18 Answer
This matter, cannot say thoroughly, learns the process to realize.
Lvyun 2015-09-13-09:47:52 Answer
As a commonly used chain-store structure
Luo Seaman 2015-09-13 11:28:40
The linear table has a structure similar to the linked list, which is worth learning

Zhang Dong 2015-09-12 21:44:38 q
The list used to be a weakness.
Helijian 2015-09-13 09:24:57 Answer
In DS, the linked list is used as the basis.

Cheng 2015-09-12 20:05:57 Q
What are the advantages of the two methods of solving 2 of the examples in sequential storage applications? Why the Sensory Solution 2 is more difficult to understand than the solution 1
Helijian 2015-09-13 09:24:07 Answer
Talk to the boys for a minute?

Kakai 2015-09-12 19:26:39 said
Ask a previous knowledge, + + is there a difference between placing a variable in front of it and putting it behind a variable?
Wang Xu 2015-09-13 14:11:39 said
In fact, I also want to know the difference between the placement before and after +-now know
Luo Seaman 2015-09-13 11:30:09
+ + is placed in front and back just different order, nothing special, straighten the relationship is good

Liu Qiang 2015-09-12 17:45:57
The list is a little difficult to understand.
Helijian 2015-09-12 19:48:48
Baidu a bit. Use it alone, ignoring the difference.
The list is the fourth week. That's the hurdle we're going to have.

Song 2015-09-12 13:48:19 Q
L= (SqList *) malloc (sizeof (sqlist)) Although the space for allocating the linear table is commented later, it's still not quite understood. What is malloc?
Helijian 2015-09-12 14:59:30 Answer
A system function name, similar to the new operator in C + +. This kind of question, ask Niang.

Zhaohe 2015-09-12 10:42:39 said
Returns the two results from main () for a pointer-to-cursor method not good understanding
Helijian 2015-09-12 12:39:35 Answer
Did you draw it? Which brother to draw for you?

Ma Mianyuan 2015-09-12 07:59:37 said
Still can't figure it out.
Helijian 2015-09-12 09:41:49 Answer
Preparing for the Monday to speak of "learning while painting", may wish to try first. The enemy's fortress is too strong to avoid a single tactical. Reading, video, looking for a brother, a combination of efforts to win this off, to fight the next goal of the opportunity.

Zhu Zhenhua 2015-09-11 13:52:38 q
Does the C language still require a system to learn?
Helijian 2015-09-11 14:17:22 Answer
If it can be effectively arranged, and the basis of program design is really very slag, the system to learn once, but I think the key is to write the code to really write it again. Otherwise, what is missing, complement what, rely on me to build the resources to fill, is also a way. I do not expect to learn the system, and do not want students to enter the rhythm of the system to learn the total. Reference: "Breaking down the complex of system learning" http://blog.csdn.net/sxhelijian/article/details/7841618
Helijian 2015-09-12 09:36:58 A second answer
What is missing may be more realistic.

Cong 2015-09-11 00:21:39
It's a little hard to understand, but think of the link list is the C language essence to understand to work hard

Wang She Jie 2015-09-10 19:47:32 said
It's still very esoteric, not very understanding.
Helijian 2015-09-10 21:57:07 Answer
Make sense of these esoteric things in a proper way. It has always been felt that the abstruse gave up, but forget that their goal is professional.

Yang 2015-09-10 07:31:06 q
Pointer-type reference, reference, pointer, this is not understood, ready to read a few more times,
Helijian 2015-09-10 11:08:33 Answer
The exchange of two-digit memory changes in the class drawing it's clear that this is a breakthrough.

Wei Yongheng 2015-09-09 23:26:11 q
Why remove the I element in a linear table of length n, moving forward n-i elements instead of n-i+1 elements, I don't understand
Helijian 2015-09-10 11:12:24 Answer
Keep the front I-1, the back n-i, after deletion, left n-1. This is an angle of understanding. Suggest to draw on the paper, let the abstract east to visualize, all understand.

Fu Junsu 2015-09-09 23:22:28 q
There is such a feeling, the teacher speaks of the sound, his own listening to the Daze
Helijian 2015-09-10 11:06:18 Answer
Online video pay attention to efficiency, by the teacher has been speaking, the individual according to their own circumstances to determine progress. Look at the effect of the class is not good, you can consider to read the book, but also to mark the book

Helijian 2015-09-08 11:51:16
Please complete the 2nd week of practice and start preparing for the 3rd week of self-study. The problems we meet are here, and we answer each other.

"The course content of the answer to the record"

Zhu Zhenhua 2015-09-21 10:18:49
Accumulating algorithm Ideas

Li Zong 2015-09-21 10:03:55
The function looks a little dizzy.

Shing 2015-09-21 09:49:58
Inserting data elements and deleting data elements
Zhang Zhikang 2015-09-21 09:55:54
The teacher will talk.

Xu Qun 2015-09-21 07:42:46
For the Get function, the book is in bool type. It always feels awkward. I can use the Elemtype type as well. Is the last counter-recall of the resulting value. At that time, the quoted E was not good, see the teacher's solution. Or to use the book in a decisive way.
Helijian 2015-09-21 08:13:42
The book, the teacher said, are just one of the programs. The charm of design is that the result can be thousands

Song 2015-09-21 07:18:27
Sometimes there are inexplicable errors, but looking at them will find that it's not a big problem, maybe it's a drop.
Helijian 2015-09-21 08:11:54
Through the continuous practice, the language learning phase is not done to complement up.

Zhu Shikang 2015-09-21 00:01:57
How to find the most effective algorithm in the quickest way?
Helijian 2015-09-21 08:10:49
This needs to accumulate. We are accumulating.

Gao Lu 2015-09-20 21:14:17
There are steps in your mind that can be used to make a lot of problems in the program.
Helijian 2015-09-21 08:10:21
Need to comprehensively improve

Ma Mianyuan 2015-09-20 19:54:37
Some variable name or want to now Baidu what meaning
Helijian 2015-09-20 19:57:09
Variable name is a name, Baidu does not explain. It is necessary to understand the meaning of variables based on the idea of algorithm.

Helijian 2015-09-20 19:16:08
If you don't read the textbook, you can't do it.
Reading textbooks is an important part of learning

Mr. Yang 2015-09-20 19:12:45
If you don't read the textbook, you can't do it.

Zhang Yao 2015-09-20 17:27:51

Ersanli 2015-09-20 15:08:02
The algorithm part is not quite clear yet. I'll see it a few more times.

Zhang Ruilei 2015-09-20 15:01:43
Fortunately, problem solving

Wang Xu 2015-09-20 13:32:04
Did you destroy it all, or did you get rid of the part of the change?
Helijian 2015-09-20 14:57:31
If the linear table is a house, the destruction means that the strong demolition team visited late yesterday ... Destroy, release the memory that stores the data, all the data storage place, all is gone.
Tang Zikian 2015-09-20 14:14:54
Linear table Destruction

Wang Min 2015-09-19 19:30:39
Still not skilled [:(]

Shangwen 2015-09-19 18:01:32
I can understand the code, I can not think of it at all
Helijian 2015-09-19 21:09:09
First of all, to ensure the idea of the algorithm, can write programs. The big fat all take a mouthful to eat out, we insist to eat down.

Neshovan 2015-09-19 15:07:11
I don't know where to start.
Helijian 2015-09-19 21:05:07
Toddler stage, do not have to stare at this goal, go down, will reach.

Lvyun 2015-09-19-10:37:18
Are there any practical examples of the symmetry of circular tables?
Helijian 2015-09-19 21:07:04
Chapter III the queue is used

Gio Mengzhen 2015-09-18 08:42:23
The list is too difficult.
Helijian 2015-09-18 08:57:44
Come on, (^ω^)!

Yuquimin 2015-09-18 07:02:06
I don't understand the meaning of the question.
Helijian 2015-09-18 08:58:52
By identification: Video combined with reading, can realize understanding.

Zhaohe 2015-09-17 21:15:12
How to use a program to prove that a linear table has been destroyed (free function)
Helijian 2015-09-17 22:25:53
After the destruction is displayed, a memory overflow occurs. Afraid of fear. Because that memory is not part of your program is running.

Xu Jiping 2015-09-17 19:37:23
BOOL variable for determining whether a linear table is an empty function, not familiar with bool variables
Helijian 2015-09-17 22:23:22
Read the C + + book, or Baidu

Kakai 2015-09-17 18:39:30
Code to see words can understand, if you want to feel very difficult, can't think out.
Helijian 2015-09-17 19:09:01
This is the process we are accumulating. Sink your heart and get through this phase.
Sin Zhi 2015-09-17 18:57:13
That's the least you've done.

Yang Zheng 2015-09-17 17:31:42
Teacher, I'd like to ask you. Destroying a linear table shows nothing or displays any values
Helijian 2015-09-17 19:07:51
After destruction, it is an illegal access to the memory. The memory may be assigned to other programs, and if the system does not reject it, it may cause disaster.

Cheng 2015-09-16 21:32:27
It's hard to write yourself.
Helijian 2015-09-17 06:26:44
In the ladder-style rise, and playing games in general, over a level, the realm of Ascension. Closed the list, the next few weeks relatively better, waiting to touch the tree. Tradition, only to test whether pass as a study evaluation, create a lot of illusion, this is now feel difficult culprit.

Zhang Dong 2015-09-16 14:05:12
No reference, still do not come out ...
Helijian 2015-09-16 19:07:49
is moving forward on the way out without reference.
Fu Junsu 2015-09-17 15:06:36
Just writing code.

Luo Seaman 2015-09-15 23:52:04
Code accumulation Ah,,,

Wang Zuanliang 2015-09-15 21:16:55
List.h how to add to mian.cpp inside
Helijian 2015-09-15 22:21:17
#include

Cheng 2015-09-15 17:57:09
Not to refer to yourself or to write code or to be more familiar with
Helijian 2015-09-15 19:32:41
The code accumulates, can no longer be delayed.

Li Hao 2015-09-15 16:55:36
The algorithm library for sequential tables is used more skillfully than before, and the problem is that it is difficult to write without an algorithm library alone.
Helijian 2015-09-15 19:31:49
Learning the data structure period, we must learn these basic things, and finally can practice.

Liu Qiang 2015-09-15 16:52:10
SqList initlist () {sqlist *l= (sqlist ) malloc (sizeof (sqlist));//apply here to settle the space l->length=0; return L;} Where the function of pointers is to return the address value of L to the main function?
Helijian 2015-09-15 19:29:57
A function that returns a value as a pointer.

Luo Seaman 2015-09-14 23:27:34
Always feel the lack of something, see the program understand, the steps are known, but it is a bit messy
Helijian 2015-09-15 07:19:33
By learning the behavior, it is to put these, in your head warehouse shelves on the yard neatly.

Cong 2015-09-14 18:43:55
In the Getelem function, the textbook says "E" returns the first element but only 0 or 1 in the implementation of the program.
Helijian 2015-09-14 19:54:14
The result does not have to be used as a full return value. The return value can only have one. E is a reference and assigns a value to it, and the argument gets the result.

Yang 2015-09-14 18:29:14
Do you want to destroy the linear table and run the results without displaying anything?
Helijian 2015-09-14 19:49:55
Release the line, don't show it to people

Li Zhe 2015-09-14 16:34:56
What is the meaning of a typedef?
Helijian 2015-09-14 19:49:02
Baidu under

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

"The data structure flips the classroom" The answer record--sequential table

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.