Explain Space And Time Complexity With Examples