Define Data Structure
Data Structure is a way of storing and organizing data in a computer so that it can be used efficiently. Some examples of Data Structures are arrays, Linked List, Stack, Queue, etc. Data Structures are widely used in almost every aspect of Computer Science i.e. Operating System, Compiler Design, Artifical intelligence, Graphics and many more.
Advantages of Data Structure
Classifiction of Data Structure:
Data Structures are normally divide into two broad categories:
- Primitive Data Structure: These are basic structures and are directly operated by the machine instruction. The common examples are integer, float, character, and boolean etc. are usually called the simple data types or primitive data structure.
- Non-Primitive Data Structure: These are more sophisticated data structures. They are derived from the primitive data structure. The non-primitive data structures emphasize on structuring of a group of homogenous (same type) or heterogeneous (different type) data items. Common examples are array, string, stack, queue, list, tree and graph.