AppNexus Interview Question

No difficult problems, just some basic programming practice.