Please enable JavaScript.
Coggle requires JavaScript to display documents.
Data Structures (Python) - Coggle Diagram
Data Structures (Python)
Linear
1D Array
It is a sequential arrangement of data
elements (n)
paired with the
index (i)
of the data element.
Operations
Insertion
array.insert(i, n)
Deletion
array.remove(n)
Search
array.index(n)
Update
array[i] = n
Linked-List
A linked list is a sequence of data elements, which are connected together via links.
Stack
Queue
Matrix
Matrix is a special case of two dimensional array where each data element is of strictly same size.
2D Array
Two dimensional array is an array within an array.
Non-Linear
Binary Tree
Heap
Hash Table
Graph