Sorted GCD Pair Queries - DSA Problem | Talentd