Time Complexity And Space Complexity Problems