Fidelity Investments Interview Question

What do you prioritise, time complexity or space complexity