XYZ(NY) interview question

How to optimize cursors?