ASSIGNMENTS
ASSIGNMENTS
ASSIGNMENTS
1. Write an algorithm for performing polynomial addition, taking array as data structures for
representing them. Trace the above with suitable example.
2. Consider a two d array A[20][50] which requires 4 bytes of storage. Let the base address
of data is 2000. Determine the location of A[10][10] when the array is stored as
1. Row major order
2. Column major order
3. Differentiate linear and non-linear data structure? How will you specify the time
complexity of an algorithm?
4. What is the difference between single linked list and doubly linked list?
5. Write the advantages and disadvantage of linked list over arrays.
ASSIGNMENT-2
ASSIGNMENT-3
ASSIGNMENT-4
ASSIGNMENT-5