ADSA Lab Assignment On Linked List
ADSA Lab Assignment On Linked List
By Dr. GC Jana
1. Reverse a Linked List: Write a function to reverse a singly linked list. [Read the Idea] [Do Program]
2. Detect a Cycle in a Linked List: Write a function to detect if a cycle exists in a linked list. [Read the Idea]
[Do Program]
3. Find the Middle of a Linked List: Write a function to find the middle element of a linked list. [Read the
Idea] [Do Program]
4. Merge Two Sorted Linked Lists: Write a function to merge two sorted linked lists into one sorted linked
list. [Read the Idea] [Do Program]
5. Remove Nth Node from End of List: Write a function to remove the Nth node from the start/end of a
linked list. [Read the Idea] [Do Program]