DSA Assignment
DSA Assignment
Student declaration:
We declare that:
We understand what is meant by plagiarism
The implication of plagiarism has been explained to us by our lecturer This
project is all our work and we have acknowledged any use of the published or
unpublished works of other people.
PROBLEM STATEMENT
The fundamental problem that this project addresses is the need for the clear understanding on
the differences of the different data structures. The data structures have both advantages and
drawbacks compared to the other data structures for some specific operations. The drawbacks
can be the worst time and space complexity. Developing a c- based program, we can calculate
the time complexity of the data structures on the operations. By calculating the time complexity,
we can find the differences between different data structures and operations.
OBJECTIVE
Develop a C based application that stores ‘n’ number of integers in two data structures.
Perform operations such as data insertion, deletion, searching, sorting, and traversing on
array and linked list data structures.
Measure the time complexity of data structures while performing each operation.
Analyze the time complexity that has been measured and determine the best, average and
worst cases.
Determine the data structures that provide better efficiency on the basis of time
complexity while performing the different operations.