Insertion at any position

how can we insert an element in a linked list at any position. it is not there in the video. please explain. thanks

@siddhant https://ide.codingblocks.com/s/172468

Hope you know to insert an element at head and at tail. Check this to refer the logic to insert any any position p.