A data structure is a way of storing and organizing the data and an algorithm is a step by step procedure to to solve a particular problem.
Data structure is a way of organizing and storing data in computers in such a way that we can perform operations like retrieval, access and search effectively
Array is a collection of items of same data type which are stored at contiguous memory locations, which makes easy retrieval of the item.
A dynamic array is a contiguous area of memory whose size changes dynamically when required. In dynamic arrays the size of the arrays varies over time.
A Linked List is a linear data structure consisting of nodes where each node has corresponding data and a pointer to the next node
Queue is a linear data structure which has is open at both ends and the operations are performed in First In First Out (FIFO) order
Queue Using Linked List
Queue Implementation Using Array
Stack is a linear data structure which has one open end and the operations performed in Last-In-First-Out order.
Stack is a linear data structure to store and manipulate data which follows LIFO (Last In First Out) order during adding and removing elements in it.
Tree Data Structure