"Explain why algorithm complexity matters, and how time and space complexity affect system performance when choosing between solutions."