10pearls interview question

raycasting