CodingReported in a candidate post, Sep 2020
GCD of siblings in binary tree
Filed under Samsung
The question
Find the GCD of each pair of siblings in a binary tree, then return the difference between the max and min GCD values.
No write-up yet. Related questions below have one.
Related Samsung questions
Collected from public candidate posts and coding forums. Updated Nov 2026.