Pergunta de entrevista da empresa Pinterest

Maximum increasing subsequence in a binary tree. Not sorted.