KTBYTE interview question

how to reverse a LInkedList?