explanation for complexity question