Apple interview question

Asked few questions on lambda functions