update solutions for binary tree related