HomeData Structures And AlgorithmsTreeTreeTree problems in Golang, grouped by difficulty — with the core pattern called out for each.Easy 4Diameter of Binary TreeDFSMaximum Depth of Binary TreeDFSPath SumDFSSum of Left LeavesDFSMedium 2Binary Tree Level Order TraversalBFSLowest Common Ancestor of a Binary TreeRecursion