Apple interview question

Beam bending