Login
Remember
Register
Ask a Question
What different types of Data Structures?
0
votes
asked
Aug 9, 2023
in
DBMS
by
DavidAnderson
What different types of Data Structures?
data-structure-interview-questions
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 9, 2023
by
DavidAnderson
Linear Data Structure:
A data structure that includes data elements arranged sequentially or linearly, where each element is connected to its previous and next nearest elements, is referred to as a linear data structure. Arrays and linked lists are two examples of linear data structures.
Non-Linear Data Structure:
Non-linear data structures are data structures in which data elements are not arranged linearly or sequentially. We cannot walk through all elements in one pass in a non-linear data structure, as in a linear data structure. Trees and graphs are two examples of non-linear data structures.
...