@@ -0,0 +1,403 @@
+/*%0A  Insert Node at the end of a linked list%0A  head pointer input could be NULL as well for empty list%0A  Node is defined as%0A  class Node %7B%0A     int data;%0A     Node next;%0A  %7D%0A*/%0A// This is a %22method-only%22 submission.%0A// You only need to complete this method.%0A%0ANode Insert(Node head,int x) %7B%0A%0A    // Create new node%0A    Node temp = new Node();%0A    temp.data = x;%0A    temp.next = head;%0A%0A    return temp;%0A%7D%0A

solve insert node at head