IBM Interview Question

There was no really a difficult question.