Meta Interview Question

They asked, how I would optimize solutions