Types of data structures
There are two main types of data structures. They are basic data structures and derived data structures. In basic data types we have arrays and linked list. In dervied we have stacks,queues,heaps,graphs,tables etc.
Definition of data structures
The basic definition of data structures is data structures is the arrangement of data elements of similar types that holds a perfect structure.
The need for data structures
Data structures decreases the complexity of the program. It takes less time to complete it's single basic operation.
Rows and columns
In this picture we can see arrays,martices,vector... Vector consists of arrangement of elements. Arrangement of set of vectors is matrices , arrangemt of matrices seems like an array. .matrices consist of rows and columns.
Student structure
Here we have an example of student structure which has the terms like name, location, ID , age ,gender etc and also in location we will be having area,street etc.
Oops through c++
Here polymorphism means usage in multiple forms.Inheritance means to exhibit the previous properties of a parent class. Class is a collection of objects. And object is a data entity that is related to the physical world.
Oops concepts
Oops concepts are 8. Polymorphism,Data abstraction and EncapsulationMessage passingDynamic BindingClassesObjects, etc are there. They are helpful in building the c++ ,Java programs using classes and objects.