In any undirected tree $T$, what is the maximum distance from any vertex $v$ with $\text{deg}(v) \geq 3$ to the closest (in a shortest path sense) vertex $y$ with $\text{deg}(y) \leq 2$? That is, $y$ can be leaf.
It seems to me that this distance can be at most $\dfrac{\text{diam}(T)}{2}$, and furthermore that the maximum distance will be attained from a graph center. Is this true? There's probably simple argument for it somewhere.
In answer to the first version of the question (between any $v$ and any $y$):
------------------------------------------------------<
y is at the left, v is at the vee
The answer to the second version of the question is yes. Suppose that $v$ were more than $\frac{D}{2}$ away from all leaves, where $D$ denotes the graph diameter. Pick two of the branches leading from $v$. Each of them contains at least one leaf. The shortest path between these leaves passes through $v$, and is of distance more than $D$, being the sum of two distances each more than $\frac{D}{2}$. This is a contradiction.
The bound given is tight, by considering the Y graph on four vertices.