Grab interview question

how to split a binary tree