Gigaphoton interview question

Give us a TS Example