Consider all the leaves of a binary tree, from left to right order, the values of those leaves form a <strong>leaf value sequence</strong>.</p><p>For example, in the given tree above, the leaf value sequence is <code>(6, 7, 4, 9, 8)</code>.</p><p>Two binary trees are considered <em>leaf-similar</em> if their leaf value sequence is the same.</p><p>Return <code>true</code> if and only if the two given trees with head nodes <code>root1</code> and <code>root2</code> are leaf-similar.