Posts

Showing posts from December, 2021

What is Data Structure and Algorithm?

Image
  Data Structure is the method of collecting and organizing data in an organized way. So, that we can perform different types of operations on these data in a very effective way. Data Structure is a way of rendering data elements in terms of some relationship. Data Structure and Algorithm is a process of better organization and storage of data elements. For example, we have some data which has student’s name with Roll no. Like a student named Rohit and his roll number is 26. Here “Rohit” is of String data type and 26 is of integer data type. We can organize these data as a record lie student record, which will have both students’ names abc their roll number on it. Now we can collect and store the student’s record in a database or file as a data structure. For example “Rohit” 26, “Arman”5, “Sushil” 34.                                          If you know about the concepts of Object-Oriented Programming, then you are aware that class also does the same thing as a data structure.