Question d’entretien chez Oracle

Write iterative or recursive program to reverse a linked list.