@@ -0,0 +1,829 @@
+https://www.hackerrank.com/challenges/insert-a-node-at-a-specific-position-in-a-linked-list/problem%0A%0A/*%0A  Insert Node at a given position in a linked list %0A  head can be NULL %0A  First element in the linked list is at position 0%0A  Node is defined as %0A  class Node %7B%0A     int data;%0A     Node next;%0A  %7D%0A*/%0A    %0A%0ANode InsertNth(Node head, int data, int position) %7B%0A   // This is a %22method-only%22 submission. %0A    // You only need to complete this method.     %0A    if (head == null %7C%7C position == 0) %7B        %0A        Node n = new Node();        %0A        n.data = data;%0A        n.next = head;%0A        return n;%0A    %7D%0A    %0A    Node curr = head;    %0A    for(int i = 0; i %3C position - 1; i++) %7B%0A        curr = curr.next;%0A    %7D%0A    %0A    Node n = new Node();%0A    n.data = data;%0A    n.next = curr.next;%0A    curr.next = n;%0A    return head;%0A%7D%0A

Solve Hackkerrank problem (easy)