My issue
There’s no solution given to this problem.
My code
n = int(input())
a = list(map(int, input().split()))
b = list(map(int, input().split()))
a.sort()
b.sort(reverse = True)
output = ''
for _ in range(n):
output += str(a[_]) + ' ' + str(b[_])
if _ != n - 1:
output += ' '
print(output)
Learning course: Jump from 2* to 3*
Problem Link: CodeChef: Practical coding for everyone