Meta interview question

Reverse a binary tree in linear time