Pregunta de entrevista de Hired

Design question with protocols.