Q2 Software Interview Question

Explain solving time and space complexity for an algorithm Describe x y and z design patterns