AT&T interview question

What would i change in the assignment?