update leetcode problems about tree