Start with the empty list
head = newNode ( 1 ) NEW_LINE head . next = newNode ( 2 ) NEW_LINE head . next . next = newNode ( 3 ) NEW_LINE head . next . next . next = newNode ( 4 ) NEW_LINE print ( " Gven ▁ Linked ▁ List " ) NEW_LINE printList ( head ) NEW_LINE head = deleteMid ( head ) NEW_LINE print ( " Linked ▁ List ▁ after ▁ deletion ▁ of ▁ middle " ) NEW_LINE printList ( head ) NEW_LINE