MathWorks Interview Question

What is the time complexity and space complexity of an algorithm?