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.

[55, 409, 435, 374, 277, 460, 418, 43, 450, 399, 210, 260, 178, 289, 57, 262, 495, 499, 112, 26]
[55, 409, 435, 374, 277, 460, 418, 43, 450, 399, 210, 260, 178, 289, 57, 262, 495, 26, 112, 499]

[384, 245, 493, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 13, 160, 186]
[384, 245, 13, 489, 397, 346, 336, 151, 166, 395, 179, 83, 351, 340, 421, 223, 14, 493, 160, 186]

[427, 96, 142, 132, 231, 208, 368, 234, 238, 157, 365, 428, 149, 429, 337, 206, 260, 436, 194, 424]

[427, 436, 142, 132, 231, 208, 368, 234, 238, 157, 365, 428, 149, 429, 337, 206, 260, 96, 194, 424]