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: [217, 60, 362, 379, 424, 219, 47, 248, 439, 478, 349, 251, 485, 127, 202, 226, 270, 402, 105, 467]

A: [217, 60, 362, 379, 424, 219, 485, 248, 439, 478, 349, 251, 47, 127, 202, 226, 270, 402, 105, 467]
****
Q: [492, 388, 498, 400, 55, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]

A: [492, 388, 55, 400, 498, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]
****
Q: [282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 470, 358, 266, 214, 145, 115, 380, 66, 20, 136]

A:
[282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 20, 358, 266, 214, 145, 115, 380, 66, 470, 136]
****