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.

[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]

[285, 252, 257, 487, 236, 465, 184, 172, 30, 340, 339, 67, 462, 483, 489, 205, 456, 66, 84, 39]
[285, 252, 257, 487, 236, 465, 184, 172, 489, 340, 339, 67, 462, 483, 30, 205, 456, 66, 84, 39]

[29, 411, 366, 438, 162, 117, 121, 436, 351, 344, 357, 420, 32, 464, 289, 395, 187, 132, 258, 425]
[464, 411, 366, 438, 162, 117, 121, 436, 351, 344, 357, 420, 32, 29, 289, 395, 187, 132, 258, 425]