Data Structure M1
Data Structure M1
Almost every enterprise application uses various types of data structures in one or the other
way. This tutorial will give you a great understanding on Data Structures needed to understand
the complexity of enterprise level applications and need of algorithms, and data structures.
• Processor speed − Processor speed although being very high, falls limited if the data
grows to billion records.
To solve the above-mentioned problems, data structures come to rescue. Data can be organized
in a data structure in such a way that all items may not be required to be searched, and the
required data can be searched almost instantly.
From the data structure point of view, following are some important categories of algorithms −
Data Structure is a systematic way to organize data in order to use it efficiently. Following terms
are the foundation terms of a data structure.
• Interface − Each data structure has an interface. Interface represents the set of
operations that a data structure supports. An interface only provides the list of
supported operations, type of parameters they can accept and return type of these
operations.
• Processor speed − Processor speed although being very high, falls limited if the data
grows to billion records.
To solve the above-mentioned problems, data structures come to rescue. Data can be organized
in a data structure in such a way that all items may not be required to be searched, and the
required data can be searched almost instantly.
• Worst Case − This is the scenario where a particular data structure operation takes
maximum time it can take. If an operation's worst case time is ƒ then this
operation will not take more than ƒ time where ƒ represents function of n.
• Average Case − This is the scenario depicting the average execution time of an
• Best Case − This is the scenario depicting the least possible execution time of an
ƒ .
Basic Terminology
• Data − Data are values or set of values.
• Group Items − Data items that are divided into sub items are called as Group Items.
• Elementary Items − Data items that cannot be divided are called as Elementary
Items.