Postman interview question

LC medium problem and regular system design use case