DATA AND FILE STRUCTURES (130702)
Assignments (Linked List)
- Explain pointers to array and pointers to strings with C
programs.
- State the differences: Array Vs Linked list.
- List various applications of linked list.
- Write an algorithm or program to split a singly linked list
into two parts.
- Write a program to add integer information of all nodes of a
circular singly linked list.
- Write a program to store student information (enrollment no,
name, age, branch) in the doubly linked list. Also, make search function
to search a student with particular enrollment number and display function
to display information for all students.
- Write a program to create doubly linked list and display
information for alternate nodes in reverse order.
- Write a program to add integer information of all nodes of a
circular singly linked list.
- Write a program to create a circular doubly linked list. If the
length of the list is odd then display the information of the middle node.
- Write an algorithm to find first common element between two
given singly linked lists. (hint:
use nested loops)