I want to create a single function to insert an element at any positon
and another single function to delete an element in linkedlist
I have been doing it individually
Can you please modify my code into a single function for insertion and another single function for deletion