Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
jmgrosen
· 3y ago · 0 comments
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.
Comments
No comments yet.
Better HN