techcarrot interview question

Normal question as per the domain