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.

[207, 308, 148, 303, 185, 297, 283, 217, 441, 433, 178, 486, 390, 228, 221, 489, 100, 299, 277, 452]
[207, 308, 148, 303, 185, 297, 283, 217, 441, 433, 178, 486, 390, 228, 221, 100, 489, 299, 277, 452]

[261, 30, 36, 116, 92, 370, 295, 348, 70, 247, 286, 63, 19, 267, 111, 206, 257, 107, 461, 174]
[261, 30, 36, 116, 92, 370, 295, 348, 70, 247, 286, 63, 461, 267, 111, 206, 257, 107, 19, 174]

[254, 409, 441, 99, 74, 292, 395, 136, 447, 233, 367, 112, 185, 327, 22, 454, 271, 319, 293, 200]

[254, 409, 441, 99, 74, 292, 395, 136, 447, 233, 367, 112, 185, 327, 454, 22, 271, 319, 293, 200]