Pergunta de entrevista da empresa Intel Corporation

One was a math question. One was a binary tree. One was a list/string problem