Explain The Space And Time Complexity