how would you reverse a linked list code example Example: reverse linkedlist Collections.reverse(list);