Internet Brands interview question

Very easy coding problems, and something along the job description.