01_Introduction (1)

# 01_Introduction (1) - Data Structure Introduction By Marwa...

• Notes
• 13

This preview shows pages 1–7. Sign up to view the full content.

Introduction Introduction Data Structure By Marwa M. A. Elfattah

This preview has intentionally blurred sections. Sign up to view the full version.

Data Structure - What Data is the basic entity or fact that is used in calculation or manipulation process Data structure is a way of organizing data items by considering its relationship to each other.
Classification of Data Structure

This preview has intentionally blurred sections. Sign up to view the full version.

Data Structure - Why The selection of a particular data structure will help the programmer to design more efficient programs The efficiency of the program depends on two measurements : 1. Space complexity 2. Time complexity
Arrays Array is one of the most familiar non-primitive linear data structure. It is a collection of items –which are of the same type- stored contiguously in the memory. We used to deal with the Array without thinking about its details.

This preview has intentionally blurred sections. Sign up to view the full version.

Arrays The c statement: int A[10]; means: reserving a contiguous space in memory, so that: memory size = element size * number of elements giving the starting address the name A The c statement : A[3] = 27; means: calculates the location address: Loc address = A+3* sizeof(int) Stores 27 in that location.
This is the end of the preview. Sign up to access the rest of the document.
• Winter '15
• marwa

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern