Pinterest interview question

Maximum increasing subsequence in a binary tree. Not sorted.