Questo articolo afferma
However, this design does run into problems with some of the methods of the MutableSequence ABC. Most notably, insert and __ delitem __ can't operate on position 0, because you can't change the head of the list when the only reference you have is to the head of the list.
Se abbiamo un riferimento al nodo head
, perché non possiamo semplicemente creare un nuovo nodo head
che contiene il vecchio nodo head
come tail