Philips interview question

Introduction