Pinterest Interview Question

Maximum increasing subsequence in a binary tree. Not sorted.