Pergunta de entrevista da empresa HyperVerge

Puzzle round: 3 daughter question