Pergunta de entrevista da empresa Insurify

Some logic, probability and sql questions