Mukund Gohil's

BLOGSPOT

DATA AND FILE STRUCTURES (130702)

Assignments (Linked List)

 

  1. Explain pointers to array and pointers to strings with C programs.
  2. State the differences: Array Vs Linked list.
  3. List various applications of linked list.
  4. Write an algorithm or program to split a singly linked list into two parts.
  5. Write a program to add integer information of all nodes of a circular singly linked list.
  6. 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.
  7. Write a program to create doubly linked list and display information for alternate nodes in reverse order.
  8. Write a program to add integer information of all nodes of a circular singly linked list.
  9. 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.
  10. Write an algorithm to find first common element between two given singly linked lists. (hint: use nested loops)

 
Next PostNewer Post Previous PostOlder Post Home