Prognosys interview question

Introduction