LeetCode: 872. Leaf-Similar Trees

LeetCode: 872. Leaf-Similar Trees 題目描述 Consider all the leaves of a binary tree. From left to right order, the values of those leaves form a leaf value sequence. For example, in the given tree above,
相關文章
相關標籤/搜索