Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.
Given the root of a binary tree, return its maximum depth. A binary tree's maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. In the given ...
Tá torthaí a d'fhéadfadh a bheith dorochtana agat á dtaispeáint faoi láthair.
Folaigh torthaí dorochtana