Types of Data Structure

Today we will discuss about the types of datastructure. Datastructure is of two types linear data structure and non linear data structure.

Types of Data Structure

Linear Data Structure

A data structue is linear when all the elements are arranged in a linear (sequential) Order.

Types of Data Structue

Non-Linear Data Structure

A data structure is non linear when all the elements are not arranged in a linear (sequential) order. There is no linearn arrangement of the elements.

Types of Data Structue

Static Data Structure

In these type of data structures, the memory is allocated at compile time. Therefore, maximum size is fixed.

Advantage: Faster Access

Disadvantage: Slower insertion and deletion.

Types of Data Structue

Dynamic Data Structure

In these type of data structures, the memory is allocated at run time. Therefore, maximum size is flexible.

Advantage: Faster insertion and deletion

Disadvantage: Slow Access

Types of Data Structure

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *