Beautystreams Interview Question

I was given a design task.