Page 1 of 1

Implement the following functions also provide main for these functions. a) Write a function that returns the info of th

Posted: Sat Nov 27, 2021 10:31 am
by answerhappygod
Implement the following functions also provide main for these
functions. a) Write a function that returns the info of the kth
element of the singly linked list. If no such element exists,
terminate the program. b) Write a function that will take divide a
one singly linked list into two sub lists of almost equal sizes).
c) Write a function that will take two sorted singly linked List as
input and merge them in third list. (You are not allowed to use any
sorting algorithm) d) Write a function to check whether given
singly linked list is palindrome or not. e) Write a function to
remove the duplicates from the linked list.
Data structures In C++
Libraries only #include<iostream> and
#include<strings>
Use link list to solve it and dont use vectors aur else keep it
simple.
Implement all these in one programe and make a menu type in main
using switch + explain all steps using comments (must) Solve it
asap ill vote for you