Delete a node from a singly-linked list in O(1) time and O(1) space | Hacker News Reader