AT&T interview question

Nothing too difficult.