Codethink interview question

Implement a solution to a given coding problem.