Leetcode 1766. Tree of Coprimes | Hello Interview