Zazzle Interview Question

Complicated technical question