Google Interview Question

Linked list and binary trees