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.

[335, 76, 110, 107, 16, 338, 163, 223, 182, 275, 283, 344, 249, 341, 375, 216, 173, 301, 71, 200]
[335, 76, 110, 107, 375, 338, 163, 223, 182, 275, 283, 344, 249, 341, 16, 216, 173, 301, 71, 200]

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

[263, 243, 453, 429, 188, 419, 308, 14, 28, 298, 301, 140, 229, 203, 125, 136, 199, 270, 439, 279]
[263, 243, 14, 429, 188, 419, 308, 453, 28, 298, 301, 140, 229, 203, 125, 136, 199, 270, 439, 279]