0% completed
Types of Data Structures
Now that we know what data structures are and why they're important, let's dive into the different types. Data structures can be broadly categorized into:
-
Primitive Data Structures: These are basic data structures that include Integers, Float, Character, and Boolean. A string is not one of them: it is a sequence of characters, so it belongs with the non-primitive, linear structures, even though most languages ship it built in.
-
Non-Primitive Data Structures: These are more complex data structures and are further classified into:
.....
.....
.....
Muhammad Azis Husein
· a year ago
In the diagram, we don't see String mentioned on any types. Would it also considered as a primitive? Or it is considered as Linear? Since basically it's a collection of Characters
Reading Progress
0%