you should know
A data structure is a way of
organizing and storing data
in a computer so that it can be accessed and modified efficiently.
Different data structures are suited to different types of applications, and choosing the right
data structure greatly improve the efficiency of a program
Some common data structures include
arrays, linked lists, stacks, queues, trees, and graphs
Data structures can be
(data is organized in a single sequence), or
(data is organized in a hierarchical manner).
Array, stack, queue, linked-list are
linear data structure
whereas graph and tree are
non-linear data structure
Data structures can be manipulated using various algorithms like:
searching, sorting, insertion, and deletion
The choice of
data structure and the algorithms
used to manipulate it can have a significant impact on the efficiency of a program.