Meta interview question

They asked, how I would optimize solutions