Pergunta de entrevista da empresa Kytes

Collection, sql, oops concepts, logical question