MPC Interview Question

How would you solve this 3D technical challenge?