Domanda di colloquio di Pinterest

Maximum increasing subsequence in a binary tree. Not sorted.