Google Interview Question

How do you flip a binary tree? How do you reverse a linked list?