Systango interview question

Typescript