TCCICOMPUTERCOACHING.COM-Learn Datastructure
In computer science, a data structure is a particular way of organizing data in a computer so that it can be used efficiently.Data structures can implement one or more particular abstract data types (ADT), which are the means of specifying the contract of operations and their complexity. For example, we have student's name "suhani" and percentage 86. Here "suhani" is of String data type and 86 is of float data type. We can organize this data as a record like Student record. Now we can collect and store student's records in a file or database as a data structure. For example: "Dhvani" 70, "shaily" 81, "Sweta" 65. In simple language, Data Structures are structures programmed to store ordered data, so that various operations can be performed on it easily. Types of Structure: Linear: Stack,Queue,array‌. Non-Linear: Tree,Graph‌..