OnShift Interview Question

How I would tackle certain problems