Yahoo interview question

http internals.