Leetcode 3312. Sorted GCD Pair Queries | Hello Interview