top | item 35937166

(no title)

jmgrosen | 2 years ago

No, it’s not—-they’re passing in a “node”, not a list, which always contains both a head element and a (nullable) tail pointer. That’s why it can’t separate the head in the case of size one: the node must maintain a non-null head.

discuss

order

No comments yet.