Professional Documents
Culture Documents
Data Structure
Data Structure
.....................................
DATA: Data is Rawfact which describes the properties of an object.
..........
INFORMATION: Information the process the data an organised Data.
............................
==>The Raw data which is converted in to the valuable data is known as
information.
==>Its is branch of computer science where it deals with organising data and
maintaing the data.
==>It is basically use to convert Raw data in to useful information.
==>Through DataStructure the complecity of a program can be managed the efficiency
can be increased.
==>Data Structures acts like the building blocks of a programming language using
these building blocks at combining the code
we can create an efficient program.
An efficiency of a program can be measured in to two things.
1)space complexity
2)Time complexicity.
In sequential programs the input does not play any role changing execution time.
Always the o/p will be
generated to the same interval of time irrespective i/p time. Hence the time
complexity will be Big O(1).
which means constant.
ex: a=5
b=2
print(a+b)
ex: a=0
if a>0:
print('+ve)
elif a<0:
print('-ve')
else:
print('neutral')