HashedIn by Deloitte Interview Question

Add an element at nth position in a singly ll.