The Trade Desk Interview Question

I had to solve a code test similar to those found on Codility.