From CLRS 3rd edition, B-3 c.:
Show that by removing at most $O(\log(n))$ edges, we can partition the vertices of any n-vertex binary tree into two sets A and B such that $|A| = \left\lfloor\frac{n}{2}\right\rfloor$ and $|B| = \left\lceil\frac{n}{2}\right\rceil$.
In a previous problem, it was shown that removing one edge could partition the tree into two sets A and B, such that $|A|≤ 3n/4$ and $|B|≤ 3n/4$ (Partition a binary tree by removing a single edge).
I'm not sure at all how to begin solving this problem. What is the solution of this problem?