Google Interview Question

Linked list binary tree hashmap puzzel and math