Intel Corporation interview question

1. Detect and remove loop in a linked list 2. reverse linked list.