In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.

Q: [161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 411, 22, 99]

A: [161, 38, 129, 34, 32, 387, 172, 89, 220, 189, 257, 229, 218, 43, 268, 39, 210, 22, 411, 99]
****
Q: [486, 158, 150, 357, 48, 239, 117, 35, 294, 107, 427, 359, 360, 36, 121, 95, 247, 100, 314, 92]

A: [35, 158, 150, 357, 48, 239, 117, 486, 294, 107, 427, 359, 360, 36, 121, 95, 247, 100, 314, 92]
****
Q: [10, 480, 227, 122, 103, 371, 175, 131, 151, 260, 125, 449, 394, 198, 255, 178, 417, 149, 140, 256]

A:
[480, 10, 227, 122, 103, 371, 175, 131, 151, 260, 125, 449, 394, 198, 255, 178, 417, 149, 140, 256]
****