Write a function that can reverse

How do you write a function that can reverse a linked-list? (Cisco System)

Can you give me some ore details about what do you want to know?

could you give an example please