IBM interview question

Asked dilemma situation