IBM interview question

Introduction