IBM interview question

my research