Data Structure 1
Data Structure 1
Introduction
Why to Learn Data Structure and
Algorithms?
⚫ As applications are getting complex and data rich, there are three
common problems that applications face now-a-days.
⚫ Data Search − Consider an inventory of 1 million(106) items of a
store. If the application is to search an item, it has to search an item in
1 million(106) items every time slowing down the search. As data
grows, search will become slower.
⚫ Processor speed − Processor speed although being very high, falls
limited if the data grows to billion records.
⚫ Multiple requests − As thousands of users can search data
simultaneously on a web server, even the fast server fails while
searching the data.
⚫ Data Object
Data Object represents an object having a data.
⚫ Data Type
Data type is a 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.
There are two data types −
⚫ Built-in Data Type