Pregunta de entrevista de HomeLane

Design an api for given problem statement