DATA STRUCTURES AND ALGORITHM IN PYTHON
DATA STRUCTURES:
In Python, a data structure is a way of organizing and storing data to efficiently perform operations on that data . Data structures are classified in two types,
Linear Data Structures:
A linear Data Structures is one in which the data elements are stored in a linear, or sequential order, that is data is stored in consecutive memory locations. The four types
of linear data structures are Arrays, Stack, Queue, Linked List.
Non-Linear Data Structures:
A Non-Linear Data Structures is one in which the data elements are not stored in any sequential order or consecutive memory locations. The data elements in this
structures are represented by a hierarchical order. Graphs and Trees are the two types of non-linear data structures.
Comments
Post a Comment