Linked list problems from GFG