Liases Foras interview question

How did you approach the problem?