Coding · Medium · ProDiameter of a binary tree (longest path between any two nodes)CodingData StructuresBinary TreeDFSSenior