Sorted GCD Pair Queries

hardSolve on LeetCodeLast edited: July 17, 2026