Explain Space And Time Complexity With Example