Pergunta de entrevista da empresa Citrus Pay

DS, mostly trees and lists with problem solving