###
Set No.
###
Set No.
1. a) What is an array? What are different types of arrays? What are limitations of
each?
b) Write a ‘C’ function that interchanges the first element with the last element,
second element with the second last element and so on.
2. a) Name different types of linked lists. What are the advantages of circular linked
lists over others?
b) Write ‘C’ function to perform various operations on a linear linked list.
###
Set No.
1. a) What are different types of arrays? How they are represented in memory.
b) Write a program to check for all odd numbers in a matrix.
6. a) For a binary tree the preorder and inorder traversal sequences are as follows.
Pre order: A B L M K N P Q
In order : L B M A N K Q P
Draw the binary tree.
b) Differentiate between Tree and graph in terms of representations.
~~~~