Alley interview question

what's improvement on the process