Google interview question

Linked list and binary trees