IBM Interview Question

Really hard questions for the interview