Arrays :
- Write a program to find 4th largest element in the array?
- Write a program to swap an array element with its next element?
- Write a program that find all the occurance of an element in the array, and reaplce only those occurance that user wants?
- Let there is an array that have mutiple occurance of element in it, write a function that remove all the duplicate elements from the array?
- Write a program to reverse an array without using another array?
Linked List :
- Write a program to reverse a Single Linked List?
- Write a program to remove all duplicate nodes from a linked list.
Note : Duplicate nodes are those nodes that hold same information.
- Write a program to swap alternate nodes in a linked list?
Input : 1->2->3->4->5->6
Output : 2->1->4->3->6->5