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.

[492, 388, 498, 400, 55, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]
[492, 388, 55, 400, 498, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]

[322, 229, 416, 465, 100, 351, 237, 310, 400, 303, 202, 290, 141, 273, 63, 72, 71, 65, 106, 305]
[322, 229, 416, 63, 100, 351, 237, 310, 400, 303, 202, 290, 141, 273, 465, 72, 71, 65, 106, 305]

[53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 16, 70, 190, 449, 43, 356, 156, 175, 294]

[53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 449, 70, 190, 16, 43, 356, 156, 175, 294]

