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: [182, 140, 61, 425, 161, 449, 260, 475, 80, 343, 86, 395, 255, 443, 270, 196, 106, 287, 330, 431]

A: [182, 140, 475, 425, 161, 449, 260, 61, 80, 343, 86, 395, 255, 443, 270, 196, 106, 287, 330, 431]
****
Q: [212, 178, 219, 360, 369, 19, 487, 129, 313, 97, 284, 476, 253, 23, 359, 238, 419, 371, 174, 434]

A: [212, 178, 219, 360, 369, 487, 19, 129, 313, 97, 284, 476, 253, 23, 359, 238, 419, 371, 174, 434]
****
Q: [175, 495, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 23, 110, 380]

A:
[175, 23, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 495, 110, 380]
****