Material interview question

Two good level Typescript related Programming question