Computer Science
What are data structures ? Name some common data structures.
Linear Lists
1 Like
Answer
A data structure is a named group of data of different data types which is stored in a specific way and can be processed as a single unit. A data structure has well-defined operations, behaviour and properties.
Some common data structures are Stack, Lists, Queue, Linked lists and Tree.
Answered By
3 Likes
Related Questions
Assertion. A list having same-sized lists as its elements is a regular 2D list.
Reason. When similar sequences such as tuples, dictionaries and lists become part of another data structure, they make a regular 2D list.
Assertion. A list having lists as its elements with elements being different-shaped make a ragged 2D list.
Reason. A list having different-sized lists as its elements make an irregular 2D list.
Is data structure related to a data type ? Explain.
What do you understand by linear and non-linear data structures ?