IBM Interview Question

Set an example and asked me how I would solve that problem