IBM Interview Question

technical question on programming