树结构,最近公共祖先

Sorry, there is no problem in the problem set