Pergunta de entrevista da empresa Amazon

runtime complexity, binary trees, and data structures