โ† BNY Mellon questions
CodingMediumReported in a candidate post, Oct 2025

Minimize Maximum Distance in Joined Trees

Filed under BNY Mellon

Given two trees A and B, join one node from tree A to one node from tree B with an edge of weight 1 to minimize the maximum distance (diameter) between any two nodes in the resulting combined tree.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related BNY Mellon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.