Postman Interview Question

LC medium problem and regular system design use case