Pratiti Technologies interview question

Q.How to insert node at head,tail and at certain position in linked list