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.

[477, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 19, 340]
[19, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 477, 340]

[68, 435, 375, 284, 153, 300, 34, 85, 196, 473, 150, 345, 17, 197, 319, 156, 144, 124, 99, 406]
[68, 435, 375, 284, 153, 300, 34, 85, 196, 17, 150, 345, 473, 197, 319, 156, 144, 124, 99, 406]

[190, 43, 71, 390, 182, 235, 154, 282, 493, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]

[190, 493, 71, 390, 182, 235, 154, 282, 43, 69, 468, 317, 489, 132, 336, 375, 160, 432, 163, 374]