IBM Interview Question

basics