ObjectVideo Labs interview question

Design an algorithm to solve a specific problem.