Shree Partners interview question

basic question