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: [180, 328, 143, 398, 304, 22, 357, 214, 233, 334, 242, 477, 55, 281, 497, 71, 173, 381, 314, 336]

A: [180, 328, 143, 398, 304, 497, 357, 214, 233, 334, 242, 477, 55, 281, 22, 71, 173, 381, 314, 336]
****
Q: [147, 345, 70, 396, 326, 125, 55, 221, 43, 223, 122, 241, 374, 372, 487, 210, 488, 276, 308, 218]

A: [147, 345, 70, 396, 326, 125, 55, 221, 488, 223, 122, 241, 374, 372, 487, 210, 43, 276, 308, 218]
****
Q: [277, 412, 88, 399, 406, 323, 449, 20, 33, 443, 418, 405, 254, 224, 390, 269, 61, 146, 203, 195]

A:
[277, 412, 88, 399, 406, 323, 20, 449, 33, 443, 418, 405, 254, 224, 390, 269, 61, 146, 203, 195]
****
