what is datastucture??
Answers
Data type is way to classify various types of data such as integer, string etc. which determines the values that can be used with the corresponding type of data, the type of operations that can be performed on the corresponding type of data. Data type of two types −
Built-in Data TypeDerived Data TypeBuilt-in Data TypeThose data types for which a language has built-in support are known as Built-in Data types. For example, most of the languages provides following built-in data types.
IntegersBoolean (true, false)Floating (Decimal numbers)Character and StringsDerived Data TypeThose data types which are implementation independent as they can be implemented in one or other way are known as derived data types. These data types are normally built by combination of primary or built-in data types and associated operations on them. For example −
ListArrayStackQueueBasic OperationsThe data in the data structures are processed by certain operations. The particular data structure chosen largely depends on the frequency of the operation that needs to be performed on the data structure.
TraversingSearchingInsertionDeletionSortingMergingin programming, the term data structure refers to a scheme for organizing related pieces of information. the basic types of data structures include: files,lists, arrays, records, trees, tables.. each of these basic structures has many variations and allows different operations to be performed on the data....