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.

[489, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 12, 57, 332, 194]
[12, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 489, 57, 332, 194]

[153, 67, 331, 237, 494, 463, 447, 260, 433, 444, 107, 93, 372, 243, 247, 312, 395, 172, 464, 380]
[153, 494, 331, 237, 67, 463, 447, 260, 433, 444, 107, 93, 372, 243, 247, 312, 395, 172, 464, 380]

[131, 212, 431, 43, 122, 473, 421, 142, 171, 252, 78, 68, 414, 329, 61, 283, 346, 284, 204, 381]

[131, 212, 431, 473, 122, 43, 421, 142, 171, 252, 78, 68, 414, 329, 61, 283, 346, 284, 204, 381]