Capital One Interview Question

Remove node with value larger than a certain value in linked list