Question d’entretien chez ADP

How do u reverse a linked list? Differences b/n Hashset & Treeset?