Describe your issue
in the “jogging” question, tmy answer is satisfying all the mentioned constraints
either change question to only distinct, and not pairwise distinct, or add my solution
Screenshot
Additional info
for 10 test cases, n from 1 to 10
my solution is
1
1 2
1 3 2
1 3 2 4
1 5 2 4 3
1 5 2 4 3 6
1 7 2 4 3 6 4
1 7 2 4 3 6 4 8
1 9 2 4 3 6 4 8 5
1 9 2 4 3 6 4 8 5 10