6th Street interview question

typical PS, HLD , LLD questions.