Insert a node at the head of a linked list

  • + 0 comments

    Java Solution we want to insert the node head of the sll(sll Node,int data) { sll new head= new sllNode(data); if(list!=NULL) { Node.next=list return new head }