leetcode binary tree update