AT&T interview question

Unique Solution to complex problem.