IBM Interview Question

Fairly standard