Bank of America interview question

Write linked list? Algorithm to reverse a list