AT&T Interview Question

There was a live coding session followed by a debugging session