TS Tech interview question

Regular Quality Question