Tree Value By Diameter