AT&T interview question

technical stuffs