Big Oh Notation interview question

Asked basic map, reduce question