AC solution binary tree max path sum