People10 interview question

Gave me coding problems to solve while sharing my screen