IBM interview question

Really hard questions for the interview