ZapLabs interview question

Can't go into specifics, but java.