remove an element at the head this operation is illustrated in figure and given in detail in code fragment figure removal of an element at the head of singly linked list(abefore the removal( "linking outthe old new node(cafter the removal code fragment removing the node at the beginning of singly linked list unfortunatelywe cannot easily delete the tail node of singly linked list even if we have tail reference directly to the last node of the listwe must be able to access the node before the last node in order to remove the last node but we cannot reach the node before the tail by following next links from the tail the only way to