MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
I'm not sure how detailed you'd like an answer, so let's start very slowly. A data structure is a form of organizing data in the computer memory. How could we organize a list? We can connect all the elements of the list so that one element knows where is the other.
So we can save the place in memory of the first element of the list. To find the element, we ask the first element how we can get to the next. It will tell us and we move to the next. How do we get to the next one? We ask the current element where we can find the next.
Does that answer your question?
Like friend say above. Also we can use the simple idea the book tells us, just constructor and selector. You will see this on the rest of the book.
A data structure is a particular way of organizing data.
In computer science, a data structure must additionally provide a way to store the data in a computer, in such a way that it can be used efficiently.