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.

[146, 354, 466, 465, 481, 390, 64, 176, 347, 420, 459, 386, 299, 468, 15, 161, 18, 422, 300, 188]
[146, 354, 466, 465, 15, 390, 64, 176, 347, 420, 459, 386, 299, 468, 481, 161, 18, 422, 300, 188]

[471, 416, 38, 475, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 29]
[471, 416, 38, 29, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 475]

[217, 60, 362, 379, 424, 219, 47, 248, 439, 478, 349, 251, 485, 127, 202, 226, 270, 402, 105, 467]

[217, 60, 362, 379, 424, 219, 485, 248, 439, 478, 349, 251, 47, 127, 202, 226, 270, 402, 105, 467]