Apple interview question

Assorted beam bending problems