algorithms_and_data_structures
algorithms_and_data_structures copied to clipboard
Shouldn't we update (head.prev).next to the new Node?